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 <Keyword>Win32Proj</Keyword>
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>$(DefaultPlatformToolset)</PlatformToolset>
35 <CharacterSet>Unicode</CharacterSet>
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38 <ConfigurationType>Utility</ConfigurationType>
39 <UseDebugLibraries>false</UseDebugLibraries>
40 <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <CharacterSet>Unicode</CharacterSet>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>Utility</ConfigurationType>
46 <UseDebugLibraries>true</UseDebugLibraries>
47 <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
48 <CharacterSet>Unicode</CharacterSet>
50 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
51 <ConfigurationType>Utility</ConfigurationType>
52 <UseDebugLibraries>false</UseDebugLibraries>
53 <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
54 <WholeProgramOptimization>true</WholeProgramOptimization>
55 <CharacterSet>Unicode</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>
101 </ItemDefinitionGroup>
102 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
104 <WarningLevel>Level3</WarningLevel>
105 <Optimization>Disabled</Optimization>
106 <SDLCheck>true</SDLCheck>
108 </ItemDefinitionGroup>
109 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
111 <WarningLevel>Level3</WarningLevel>
112 <Optimization>MaxSpeed</Optimization>
113 <FunctionLevelLinking>true</FunctionLevelLinking>
114 <IntrinsicFunctions>true</IntrinsicFunctions>
115 <SDLCheck>true</SDLCheck>
118 <EnableCOMDATFolding>true</EnableCOMDATFolding>
119 <OptimizeReferences>true</OptimizeReferences>
121 </ItemDefinitionGroup>
122 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
124 <WarningLevel>Level3</WarningLevel>
125 <Optimization>MaxSpeed</Optimization>
126 <FunctionLevelLinking>true</FunctionLevelLinking>
127 <IntrinsicFunctions>true</IntrinsicFunctions>
128 <SDLCheck>true</SDLCheck>
131 <EnableCOMDATFolding>true</EnableCOMDATFolding>
132 <OptimizeReferences>true</OptimizeReferences>
134 </ItemDefinitionGroup>
135 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
136 <Import Project="mono.external.targets" />
137 <Import Project="mono.winconfig.targets" />
138 <ImportGroup Label="ExtensionTargets">
141 <Target Name="AfterBuildWinSetup">
143 <_EnableDefines Condition="'$(MONO_ENABLE_LLVM)' == 'true'">$(_EnableDefines);ENABLE_LLVM;ENABLE_LLVM_RUNTIME</_EnableDefines>
144 <_EnableDefines Condition="'$(MONO_ENABLE_NETCORE)' == 'true'">$(_EnableDefines);ENABLE_NETCORE</_EnableDefines>
145 <_HaveDefines Condition="'$(MONO_ENABLE_BTLS)' == 'true'">$(_HaveDefines);HAVE_BTLS</_HaveDefines>
146 <_EnableDefines>$(_EnableDefines.Trim(';'))</_EnableDefines>
147 <_HaveDefines>$(_HaveDefines.Trim(';'))</_HaveDefines>
149 <WinConfigSetup ConfigFileRoot="$(MSBuildThisFileDirectory)..\"
151 EnableDefines="$(_EnableDefines)"
152 HaveDefines="$(_HaveDefines)"/>
155 <Target Name="AfterBuild" DependsOnTargets="AfterBuildWinSetup" />
157 <Target Name="_BackupConfigFile" Condition="'$(_MonoConfigFileBackupExists)' != 'true' and Exists('$(MONO_DIR)/config.h')">
158 <Copy SourceFiles="$(MONO_DIR)/config.h" DestinationFiles="$(MONO_DIR)/cygconfig.h" />
161 <Target Name="_CheckConfigFile">
162 <_CheckConfigurationProperty ConfFile="$(MONO_DIR)/config.h" ConfRegEx="#include.*cygconfig.h.*">
163 <Output TaskParameter="ConfPropertyFoundMatch" PropertyName="_MonoConfigFileBackupExists" />
164 </_CheckConfigurationProperty>
168 <PrepareForBuildDependsOn>
171 $(PrepareForBuildDependsOn);
172 </PrepareForBuildDependsOn>