1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
\r
3 <ItemGroup Label="ProjectConfigurations">
\r
4 <ProjectConfiguration Include="Debug|Win32">
\r
5 <Configuration>Debug</Configuration>
\r
6 <Platform>Win32</Platform>
\r
7 </ProjectConfiguration>
\r
8 <ProjectConfiguration Include="Release|Win32">
\r
9 <Configuration>Release</Configuration>
\r
10 <Platform>Win32</Platform>
\r
11 </ProjectConfiguration>
\r
12 <ProjectConfiguration Include="Debug|x64">
\r
13 <Configuration>Debug</Configuration>
\r
14 <Platform>x64</Platform>
\r
15 </ProjectConfiguration>
\r
16 <ProjectConfiguration Include="Release|x64">
\r
17 <Configuration>Release</Configuration>
\r
18 <Platform>x64</Platform>
\r
19 </ProjectConfiguration>
\r
22 <ProjectReference Include="build-init.vcxproj">
\r
23 <Project>{92ae7622-5f58-4234-9a26-9ec71876b3f4}</Project>
\r
26 <PropertyGroup Label="Globals">
\r
27 <ProjectGuid>{C3D4C623-55F8-4653-980D-61AA629B4E1D}</ProjectGuid>
\r
28 <RootNamespace>buildexternalllvm</RootNamespace>
\r
29 <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
\r
31 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
\r
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
\r
33 <ConfigurationType>Utility</ConfigurationType>
\r
34 <UseDebugLibraries>true</UseDebugLibraries>
\r
35 <PlatformToolset>v140</PlatformToolset>
\r
36 <CharacterSet>MultiByte</CharacterSet>
\r
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
\r
39 <ConfigurationType>Utility</ConfigurationType>
\r
40 <UseDebugLibraries>false</UseDebugLibraries>
\r
41 <PlatformToolset>v140</PlatformToolset>
\r
42 <WholeProgramOptimization>true</WholeProgramOptimization>
\r
43 <CharacterSet>MultiByte</CharacterSet>
\r
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
\r
46 <ConfigurationType>Utility</ConfigurationType>
\r
47 <UseDebugLibraries>true</UseDebugLibraries>
\r
48 <PlatformToolset>v140</PlatformToolset>
\r
49 <CharacterSet>MultiByte</CharacterSet>
\r
51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
\r
52 <ConfigurationType>Utility</ConfigurationType>
\r
53 <UseDebugLibraries>false</UseDebugLibraries>
\r
54 <PlatformToolset>v140</PlatformToolset>
\r
55 <WholeProgramOptimization>true</WholeProgramOptimization>
\r
56 <CharacterSet>MultiByte</CharacterSet>
\r
58 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
\r
59 <ImportGroup Label="ExtensionSettings">
\r
61 <ImportGroup Label="Shared">
\r
63 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
65 <Import Project="mono.props" />
\r
67 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
68 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
69 <Import Project="mono.props" />
\r
71 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
72 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
73 <Import Project="mono.props" />
\r
75 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
76 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
77 <Import Project="mono.props" />
\r
79 <PropertyGroup Label="UserMacros" />
\r
80 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
81 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
82 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
84 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
85 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
86 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
88 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
89 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
90 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
92 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
93 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
94 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
96 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
98 <WarningLevel>Level3</WarningLevel>
\r
99 <Optimization>Disabled</Optimization>
\r
100 <SDLCheck>true</SDLCheck>
\r
106 </ItemDefinitionGroup>
\r
107 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
109 <WarningLevel>Level3</WarningLevel>
\r
110 <Optimization>Disabled</Optimization>
\r
111 <SDLCheck>true</SDLCheck>
\r
117 </ItemDefinitionGroup>
\r
118 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
120 <WarningLevel>Level3</WarningLevel>
\r
121 <Optimization>MaxSpeed</Optimization>
\r
122 <FunctionLevelLinking>true</FunctionLevelLinking>
\r
123 <IntrinsicFunctions>true</IntrinsicFunctions>
\r
124 <SDLCheck>true</SDLCheck>
\r
127 <EnableCOMDATFolding>true</EnableCOMDATFolding>
\r
128 <OptimizeReferences>true</OptimizeReferences>
\r
134 </ItemDefinitionGroup>
\r
135 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
137 <WarningLevel>Level3</WarningLevel>
\r
138 <Optimization>MaxSpeed</Optimization>
\r
139 <FunctionLevelLinking>true</FunctionLevelLinking>
\r
140 <IntrinsicFunctions>true</IntrinsicFunctions>
\r
141 <SDLCheck>true</SDLCheck>
\r
144 <EnableCOMDATFolding>true</EnableCOMDATFolding>
\r
145 <OptimizeReferences>true</OptimizeReferences>
\r
151 </ItemDefinitionGroup>
\r
152 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
\r
153 <Import Project="mono.external.targets" />
\r
154 <ImportGroup Label="ExtensionTargets">
\r
157 <_LLVMCFlags Condition="'$(MONO_PREPROCESSOR_DEFINITIONS)' != ''">$(MONO_PREPROCESSOR_DEFINITIONS.Replace(";"," "))</_LLVMCFlags>
\r
158 <_LLVMCFlags>$(_LLVMCFlags.Trim())</_LLVMCFlags>
\r
159 <_LLVMCFlags Condition="'$(_LLVMCFlags)' != ''">-D$(_LLVMCFlags.Replace(" "," -D"))</_LLVMCFlags>
\r
160 <_LLVMEnableAsserts>-DLLVM_ENABLE_ASSERTIONS=Off</_LLVMEnableAsserts>
\r
161 <_LLVMEnableAsserts Condition="'$(MONO_ENABLE_LLVM_ASSERTS)' == 'true'">-DLLVM_ENABLE_ASSERTIONS=On</_LLVMEnableAsserts>
\r
162 <_LLVMAdditionalCMakeArgs>$(_LLVMEnableAsserts)</_LLVMAdditionalCMakeArgs>
\r
163 <_LLVMBuildCommand>build-external-llvm.bat "$(_LLVMSourceDir)" "$(_LLVMBuildDir)" "$(_LLVMInstallDir)" "$(_MonoOutputDir)" "$(_LLVMCFlags)" "$(_LLVMAdditionalCMakeArgs)" "$(Platform)" "$(Configuration)"</_LLVMBuildCommand>
\r
165 <Target Name="_AfterBuildExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">
\r
166 <Exec Command="$(_LLVMBuildCommand) "Build" "$(MSBuildBinPath)\" "$(_MonoExternalBuildForceMSBuild)"">
\r
167 <Output TaskParameter="ExitCode" PropertyName="_BuildExternalLLVMExitCode" />
\r
170 <Target Name="_AfterCleanExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">
\r
171 <Exec Command="$(_LLVMBuildCommand) "Clean" "$(MSBuildBinPath)\" "$(_MonoExternalBuildForceMSBuild)"">
\r
172 <Output TaskParameter="ExitCode" PropertyName="_CleanExternalLLVMExitCode" />
\r
175 <Target Name="AfterBuild" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterBuildExternalLLVM" />
\r
176 <Target Name="AfterClean" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterCleanExternalLLVM" />
\r
178 <Target Name="_GetLLVMConfig" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment" Returns="@(_GetLLVMConfigOutputItems)">
\r
180 <_GetLLVMConfigOutputItems Include="$(_MonoLLVMConfig)" />
\r