1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Debug|x64">
13 <Configuration>Debug</Configuration>
14 <Platform>x64</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
22 <ClInclude Include="..\config.h" />
23 <ClInclude Include="..\winconfig.h" />
25 <PropertyGroup Label="Globals">
26 <ProjectGuid>{92AE7622-5F58-4234-9A26-9EC71876B3F4}</ProjectGuid>
27 <RootNamespace>buildinit</RootNamespace>
28 <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
30 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32 <ConfigurationType>Utility</ConfigurationType>
33 <UseDebugLibraries>true</UseDebugLibraries>
34 <PlatformToolset>v140</PlatformToolset>
35 <CharacterSet>MultiByte</CharacterSet>
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38 <ConfigurationType>Utility</ConfigurationType>
39 <UseDebugLibraries>false</UseDebugLibraries>
40 <PlatformToolset>v140</PlatformToolset>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <CharacterSet>MultiByte</CharacterSet>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>Utility</ConfigurationType>
46 <UseDebugLibraries>true</UseDebugLibraries>
47 <PlatformToolset>v140</PlatformToolset>
48 <CharacterSet>MultiByte</CharacterSet>
50 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
51 <ConfigurationType>Utility</ConfigurationType>
52 <UseDebugLibraries>false</UseDebugLibraries>
53 <PlatformToolset>v140</PlatformToolset>
54 <WholeProgramOptimization>true</WholeProgramOptimization>
55 <CharacterSet>MultiByte</CharacterSet>
57 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
58 <ImportGroup Label="ExtensionSettings">
60 <ImportGroup Label="Shared">
62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 <Import Project="mono.props" />
66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68 <Import Project="mono.props" />
70 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
71 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
72 <Import Project="mono.props" />
74 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
75 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
76 <Import Project="mono.props" />
78 <PropertyGroup Label="UserMacros" />
79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
80 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
81 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
83 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
84 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
85 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
87 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
88 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
89 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
91 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
92 <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
93 <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
95 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
97 <WarningLevel>Level3</WarningLevel>
98 <Optimization>Disabled</Optimization>
99 <SDLCheck>true</SDLCheck>
105 </ItemDefinitionGroup>
106 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108 <WarningLevel>Level3</WarningLevel>
109 <Optimization>Disabled</Optimization>
110 <SDLCheck>true</SDLCheck>
116 </ItemDefinitionGroup>
117 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
119 <WarningLevel>Level3</WarningLevel>
120 <Optimization>MaxSpeed</Optimization>
121 <FunctionLevelLinking>true</FunctionLevelLinking>
122 <IntrinsicFunctions>true</IntrinsicFunctions>
123 <SDLCheck>true</SDLCheck>
126 <EnableCOMDATFolding>true</EnableCOMDATFolding>
127 <OptimizeReferences>true</OptimizeReferences>
133 </ItemDefinitionGroup>
134 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
136 <WarningLevel>Level3</WarningLevel>
137 <Optimization>MaxSpeed</Optimization>
138 <FunctionLevelLinking>true</FunctionLevelLinking>
139 <IntrinsicFunctions>true</IntrinsicFunctions>
140 <SDLCheck>true</SDLCheck>
143 <EnableCOMDATFolding>true</EnableCOMDATFolding>
144 <OptimizeReferences>true</OptimizeReferences>
150 </ItemDefinitionGroup>
151 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
152 <Import Project="mono.external.targets" />
153 <Import Project="mono.winconfig.targets" />
154 <ImportGroup Label="ExtensionTargets">
157 <Target Name="AfterBuildWinSetup">
159 <_EnableDefines Condition="'$(MONO_ENABLE_LLVM)' == 'true'">$(_EnableDefines);ENABLE_LLVM;ENABLE_LLVM_RUNTIME</_EnableDefines>
160 <_EnableDefines Condition="'$(MONO_ENABLE_NETCORE)' == 'true'">$(_EnableDefines);ENABLE_NETCORE</_EnableDefines>
161 <_HaveDefines Condition="'$(MONO_ENABLE_BTLS)' == 'true'">$(_HaveDefines);HAVE_BTLS</_HaveDefines>
162 <_EnableDefines>$(_EnableDefines.Trim(';'))</_EnableDefines>
163 <_HaveDefines>$(_HaveDefines.Trim(';'))</_HaveDefines>
165 <WinConfigSetup ConfigFileRoot="$(MSBuildThisFileDirectory)..\"
167 EnableDefines="$(_EnableDefines)"
168 HaveDefines="$(_HaveDefines)"/>
171 <Target Name="AfterBuild" DependsOnTargets="AfterBuildWinSetup" />
173 <Target Name="_BackupConfigFile" Condition="'$(_MonoConfigFileBackupExists)' != 'true' and Exists('$(MONO_DIR)/config.h')">
174 <Copy SourceFiles="$(MONO_DIR)/config.h" DestinationFiles="$(MONO_DIR)/cygconfig.h" />
177 <Target Name="_CheckConfigFile">
178 <_CheckConfigurationProperty ConfFile="$(MONO_DIR)/config.h" ConfRegEx="#include.*cygconfig.h.*">
179 <Output TaskParameter="ConfPropertyFoundMatch" PropertyName="_MonoConfigFileBackupExists" />
180 </_CheckConfigurationProperty>
184 <PrepareForBuildDependsOn>
187 $(PrepareForBuildDependsOn);
188 </PrepareForBuildDependsOn>