[ci] Use dl.internalx.com when building on private Jenkins
[mono-project.git] / msvc / build-external-llvm.vcxproj
blob92ccd49fe19865ac1a1d9c8aad1b0736a581849b
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   <ItemGroup>\r
22     <ProjectReference Include="build-init.vcxproj">\r
23       <Project>{92ae7622-5f58-4234-9a26-9ec71876b3f4}</Project>\r
24     </ProjectReference>\r
25   </ItemGroup>\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
30   </PropertyGroup>\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
37   </PropertyGroup>\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
44   </PropertyGroup>\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
50   </PropertyGroup>\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
57   </PropertyGroup>\r
58   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
59   <ImportGroup Label="ExtensionSettings">\r
60   </ImportGroup>\r
61   <ImportGroup Label="Shared">\r
62   </ImportGroup>\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
66   </ImportGroup>\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
70   </ImportGroup>\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
74   </ImportGroup>\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
78   </ImportGroup>\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
83   </PropertyGroup>\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
87   </PropertyGroup>\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
91   </PropertyGroup>\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
95   </PropertyGroup>\r
96   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
97     <ClCompile>\r
98       <WarningLevel>Level3</WarningLevel>\r
99       <Optimization>Disabled</Optimization>\r
100       <SDLCheck>true</SDLCheck>\r
101     </ClCompile>\r
102     <PostBuildEvent>\r
103       <Command>\r
104       </Command>\r
105     </PostBuildEvent>\r
106   </ItemDefinitionGroup>\r
107   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
108     <ClCompile>\r
109       <WarningLevel>Level3</WarningLevel>\r
110       <Optimization>Disabled</Optimization>\r
111       <SDLCheck>true</SDLCheck>\r
112     </ClCompile>\r
113     <PostBuildEvent>\r
114       <Command>\r
115       </Command>\r
116     </PostBuildEvent>\r
117   </ItemDefinitionGroup>\r
118   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
119     <ClCompile>\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
125     </ClCompile>\r
126     <Link>\r
127       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
128       <OptimizeReferences>true</OptimizeReferences>\r
129     </Link>\r
130     <PostBuildEvent>\r
131       <Command>\r
132       </Command>\r
133     </PostBuildEvent>\r
134   </ItemDefinitionGroup>\r
135   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
136     <ClCompile>\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
142     </ClCompile>\r
143     <Link>\r
144       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
145       <OptimizeReferences>true</OptimizeReferences>\r
146     </Link>\r
147     <PostBuildEvent>\r
148       <Command>\r
149       </Command>\r
150     </PostBuildEvent>\r
151   </ItemDefinitionGroup>\r
152   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
153   <Import Project="mono.external.targets" />\r
154   <ImportGroup Label="ExtensionTargets">\r
155   </ImportGroup>\r
156   <PropertyGroup>\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 &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
164   </PropertyGroup>\r
165   <Target Name="_AfterBuildExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">\r
166     <Exec Command="$(_LLVMBuildCommand) &quot;Build&quot; &quot;$(MSBuildBinPath)\&quot; &quot;$(_MonoExternalBuildForceMSBuild)&quot;">\r
167       <Output TaskParameter="ExitCode" PropertyName="_BuildExternalLLVMExitCode" />\r
168     </Exec>\r
169   </Target>\r
170   <Target Name="_AfterCleanExternalLLVM" Condition="'$(MONO_ENABLE_LLVM)' == 'true' and '$(_MonoEnableInternalLLVM)' == 'true'">\r
171     <Exec Command="$(_LLVMBuildCommand) &quot;Clean&quot; &quot;$(MSBuildBinPath)\&quot; &quot;$(_MonoExternalBuildForceMSBuild)&quot;">\r
172       <Output TaskParameter="ExitCode" PropertyName="_CleanExternalLLVMExitCode" />\r
173     </Exec>\r
174   </Target>\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
179     <ItemGroup>\r
180       <_GetLLVMConfigOutputItems Include="$(_MonoLLVMConfig)" />\r
181     </ItemGroup>\r
182   </Target>\r
184 </Project>