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
21 <PropertyGroup Label="Globals">
\r
22 <ProjectGuid>{C3D4C623-55F8-4653-980D-61AA629B4E1D}</ProjectGuid>
\r
23 <RootNamespace>buildexternalllvm</RootNamespace>
\r
24 <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
\r
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
\r
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
\r
28 <ConfigurationType>Utility</ConfigurationType>
\r
29 <UseDebugLibraries>true</UseDebugLibraries>
\r
30 <PlatformToolset>v140</PlatformToolset>
\r
31 <CharacterSet>MultiByte</CharacterSet>
\r
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
\r
34 <ConfigurationType>Utility</ConfigurationType>
\r
35 <UseDebugLibraries>false</UseDebugLibraries>
\r
36 <PlatformToolset>v140</PlatformToolset>
\r
37 <WholeProgramOptimization>true</WholeProgramOptimization>
\r
38 <CharacterSet>MultiByte</CharacterSet>
\r
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
\r
41 <ConfigurationType>Utility</ConfigurationType>
\r
42 <UseDebugLibraries>true</UseDebugLibraries>
\r
43 <PlatformToolset>v140</PlatformToolset>
\r
44 <CharacterSet>MultiByte</CharacterSet>
\r
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
\r
47 <ConfigurationType>Utility</ConfigurationType>
\r
48 <UseDebugLibraries>false</UseDebugLibraries>
\r
49 <PlatformToolset>v140</PlatformToolset>
\r
50 <WholeProgramOptimization>true</WholeProgramOptimization>
\r
51 <CharacterSet>MultiByte</CharacterSet>
\r
53 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
\r
54 <ImportGroup Label="ExtensionSettings">
\r
56 <ImportGroup Label="Shared">
\r
58 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
60 <Import Project="mono.props" />
\r
62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
64 <Import Project="mono.props" />
\r
66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
68 <Import Project="mono.props" />
\r
70 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
71 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
72 <Import Project="mono.props" />
\r
74 <PropertyGroup Label="UserMacros" />
\r
75 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
76 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
77 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
80 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
81 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
83 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
84 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
85 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
87 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
88 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
\r
89 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
\r
91 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
\r
93 <WarningLevel>Level3</WarningLevel>
\r
94 <Optimization>Disabled</Optimization>
\r
95 <SDLCheck>true</SDLCheck>
\r
101 </ItemDefinitionGroup>
\r
102 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
104 <WarningLevel>Level3</WarningLevel>
\r
105 <Optimization>Disabled</Optimization>
\r
106 <SDLCheck>true</SDLCheck>
\r
112 </ItemDefinitionGroup>
\r
113 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
\r
115 <WarningLevel>Level3</WarningLevel>
\r
116 <Optimization>MaxSpeed</Optimization>
\r
117 <FunctionLevelLinking>true</FunctionLevelLinking>
\r
118 <IntrinsicFunctions>true</IntrinsicFunctions>
\r
119 <SDLCheck>true</SDLCheck>
\r
122 <EnableCOMDATFolding>true</EnableCOMDATFolding>
\r
123 <OptimizeReferences>true</OptimizeReferences>
\r
129 </ItemDefinitionGroup>
\r
130 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
132 <WarningLevel>Level3</WarningLevel>
\r
133 <Optimization>MaxSpeed</Optimization>
\r
134 <FunctionLevelLinking>true</FunctionLevelLinking>
\r
135 <IntrinsicFunctions>true</IntrinsicFunctions>
\r
136 <SDLCheck>true</SDLCheck>
\r
139 <EnableCOMDATFolding>true</EnableCOMDATFolding>
\r
140 <OptimizeReferences>true</OptimizeReferences>
\r
146 </ItemDefinitionGroup>
\r
147 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
\r
148 <Import Project="mono.external.targets" />
\r
149 <ImportGroup Label="ExtensionTargets">
\r
152 <_LLVMCFlags Condition="'$(MONO_PREPROCESSOR_DEFINITIONS)' != ''">$(MONO_PREPROCESSOR_DEFINITIONS.Replace(";"," "))</_LLVMCFlags>
\r
153 <_LLVMCFlags>$(_LLVMCFlags.Trim())</_LLVMCFlags>
\r
154 <_LLVMCFlags Condition="'$(_LLVMCFlags)' != ''">-D$(_LLVMCFlags.Replace(" "," -D"))</_LLVMCFlags>
\r
155 <_LLVMEnableAsserts>-DLLVM_ENABLE_ASSERTIONS=Off</_LLVMEnableAsserts>
\r
156 <_LLVMEnableAsserts Condition="'$(MONO_ENABLE_LLVM_ASSERTS)' == 'true'" >-DLLVM_ENABLE_ASSERTIONS=On</_LLVMEnableAsserts>
\r
157 <_LLVMAdditionalCMakeArgs>$(_LLVMEnableAsserts)</_LLVMAdditionalCMakeArgs>
\r
158 <_LLVMBuildCommand>build-external-llvm.bat "$(_LLVMSourceDir)" "$(_LLVMBuildDir)" "$(_LLVMInstallDir)" "$(_MonoOutputDir)" "$(_LLVMCFlags)" "$(_LLVMAdditionalCMakeArgs)" "$(Platform)" "$(Configuration)"</_LLVMBuildCommand>
\r
160 <Target Name="_AfterBuildExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">
\r
161 <Exec Command="$(_LLVMBuildCommand) "Build" "$(MSBuildBinPath)\"">
\r
162 <Output TaskParameter="ExitCode" PropertyName="_BuildExternalLLVMExitCode" />
\r
165 <Target Name="_AfterCleanExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">
\r
166 <Exec Command="$(_LLVMBuildCommand) "Clean" "$(MSBuildBinPath)\"">
\r
167 <Output TaskParameter="ExitCode" PropertyName="_CleanExternalLLVMExitCode" />
\r
170 <Target Name="AfterBuild" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterBuildExternalLLVM" />
\r
171 <Target Name="AfterClean" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterCleanExternalLLVM" />
\r