Updated with review feedback.
[mono.git] / msvc / libmonoutils-arch.targets
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup>
4     <ExcludeFromWindowsBuild>true</ExcludeFromWindowsBuild>
5     <ExcludeFromWindows32Build>false</ExcludeFromWindows32Build>
6     <ExcludeFromWindows64Build>false</ExcludeFromWindows64Build>
7     <ExcludeFromWindows32Build Condition="'$(Platform)'=='Win32'">true</ExcludeFromWindows32Build>
8     <ExcludeFromWindows64Build Condition="'$(Platform)'=='x64'">true</ExcludeFromWindows64Build>
9   </PropertyGroup>
10   <ItemGroup Label="arch_x86_sources">
11     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mach-support-x86.c">
12       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
13     </ClCompile>
14     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-x86.c" />
15   </ItemGroup>
16   <ItemGroup Label="arch_amd64_sources">
17     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mach-support-amd64.c">
18       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
19     </ClCompile>
20     <MASM Include="$(MonoSourceLocation)\mono\utils\win64.asm">
21       <FileType>Document</FileType>
22       <ExcludedFromBuild>$(ExcludeFromWindows32Build)</ExcludedFromBuild>
23       <PreprocessorDefinitions>X64</PreprocessorDefinitions>
24     </MASM>
25   </ItemGroup>
26   <ItemGroup Label="arch_arm_sources">
27     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mach-support-arm.c">
28       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
29     </ClCompile>
30     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-arm.c">
31       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
32     </ClCompile>
33   </ItemGroup>
34   <ItemGroup Label="arch_arm64_sources">
35     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mach-support-arm64.c">
36       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
37     </ClCompile>
38     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-arm64.c">
39       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
40     </ClCompile>
41   </ItemGroup>
42   <ItemGroup Label="arch_mips_sources">
43     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-mips.c">
44       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
45     </ClCompile>
46   </ItemGroup>
47   <ItemGroup Label="arch_ppc_sources">
48     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-ppc.c">
49       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
50     </ClCompile>
51   </ItemGroup>
52   <ItemGroup Label="arch_sparc_sources">
53     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-sparc.c">
54       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
55     </ClCompile>
56   </ItemGroup>
57   <ItemGroup Label="arch_s390x_sources">
58     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-os390x.c">
59       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
60     </ClCompile>
61   </ItemGroup>
62   <ItemGroup Label="arch_wasm_sources">
63     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-wasm.c">
64       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
65     </ClCompile>
66   </ItemGroup>
67   <ItemGroup Label="arch_unknown_sources">
68     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mach-support-unknown.c">
69       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
70     </ClCompile>
71   </ItemGroup>
72   <ItemGroup Label="arch_cross_sources">
73     <ClCompile Include="$(MonoSourceLocation)\mono\utils\mono-hwcap-cross.c">
74       <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild>
75     </ClCompile>
76   </ItemGroup>
77   <ImportGroup Label="ExtensionSettings">
78     <Import Project="$(MonoSourceLocation)\msvc\masm.fixed.props" />
79     <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
80   </ImportGroup>
81 </Project>