[bcl] Update BCL Linked Size
[mono-project.git] / msvc / build-external-llvm.vcxproj
blobe74168261aa0678ced2ebe40d01714acdc66b5d2
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
20   </ItemGroup>\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
25   </PropertyGroup>\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
32   </PropertyGroup>\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
39   </PropertyGroup>\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
45   </PropertyGroup>\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
52   </PropertyGroup>\r
53   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
54   <ImportGroup Label="ExtensionSettings">\r
55   </ImportGroup>\r
56   <ImportGroup Label="Shared">\r
57   </ImportGroup>\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
61   </ImportGroup>\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
65   </ImportGroup>\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
69   </ImportGroup>\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
73   </ImportGroup>\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
78   </PropertyGroup>\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
82   </PropertyGroup>\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
86   </PropertyGroup>\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
90   </PropertyGroup>\r
91   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
92     <ClCompile>\r
93       <WarningLevel>Level3</WarningLevel>\r
94       <Optimization>Disabled</Optimization>\r
95       <SDLCheck>true</SDLCheck>\r
96     </ClCompile>\r
97     <PostBuildEvent>\r
98       <Command>\r
99       </Command>\r
100     </PostBuildEvent>\r
101   </ItemDefinitionGroup>\r
102   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
103     <ClCompile>\r
104       <WarningLevel>Level3</WarningLevel>\r
105       <Optimization>Disabled</Optimization>\r
106       <SDLCheck>true</SDLCheck>\r
107     </ClCompile>\r
108     <PostBuildEvent>\r
109       <Command>\r
110       </Command>\r
111     </PostBuildEvent>\r
112   </ItemDefinitionGroup>\r
113   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
114     <ClCompile>\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
120     </ClCompile>\r
121     <Link>\r
122       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
123       <OptimizeReferences>true</OptimizeReferences>\r
124     </Link>\r
125     <PostBuildEvent>\r
126       <Command>\r
127       </Command>\r
128     </PostBuildEvent>\r
129   </ItemDefinitionGroup>\r
130   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
131     <ClCompile>\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
137     </ClCompile>\r
138     <Link>\r
139       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
140       <OptimizeReferences>true</OptimizeReferences>\r
141     </Link>\r
142     <PostBuildEvent>\r
143       <Command>\r
144       </Command>\r
145     </PostBuildEvent>\r
146   </ItemDefinitionGroup>\r
147   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
148   <Import Project="mono.external.targets" />\r
149   <ImportGroup Label="ExtensionTargets">\r
150   </ImportGroup>\r
151   <PropertyGroup>\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 &quot;$(_LLVMSourceDir)&quot; &quot;$(_LLVMBuildDir)&quot; &quot;$(_LLVMInstallDir)&quot; &quot;$(_MonoOutputDir)&quot; &quot;$(_LLVMCFlags)&quot; &quot;$(_LLVMAdditionalCMakeArgs)&quot; &quot;$(Platform)&quot; &quot;$(Configuration)&quot;</_LLVMBuildCommand>\r
159   </PropertyGroup>\r
160   <Target Name="_AfterBuildExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">\r
161     <Exec Command="$(_LLVMBuildCommand) &quot;Build&quot; &quot;$(MSBuildBinPath)\&quot;">\r
162       <Output TaskParameter="ExitCode" PropertyName="_BuildExternalLLVMExitCode" />\r
163     </Exec>\r
164   </Target>\r
165   <Target Name="_AfterCleanExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">\r
166     <Exec Command="$(_LLVMBuildCommand) &quot;Clean&quot; &quot;$(MSBuildBinPath)\&quot;">\r
167       <Output TaskParameter="ExitCode" PropertyName="_CleanExternalLLVMExitCode" />\r
168     </Exec>\r
169   </Target>\r
170   <Target Name="AfterBuild" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterBuildExternalLLVM" />\r
171   <Target Name="AfterClean" DependsOnTargets="_ConfigureExternalMonoLLVMBuildEnvironment;_AfterCleanExternalLLVM" />\r
172 </Project>