2019-07-26 19:53:28 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="..\config.h" />
|
|
|
|
|
<ClInclude Include="..\winconfig.h" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{92AE7622-5F58-4234-9A26-9EC71876B3F4}</ProjectGuid>
|
|
|
|
|
<RootNamespace>buildinit</RootNamespace>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Utility</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Utility</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Utility</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Utility</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="Shared">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="mono.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="mono.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="mono.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="mono.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
|
|
|
|
|
<IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
|
|
|
|
|
<IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
|
<OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
|
|
|
|
|
<IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
|
|
|
|
|
<IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<Import Project="mono.external.targets" />
|
|
|
|
|
<Import Project="mono.winconfig.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
|
|
|
|
|
<Target Name="AfterBuildWinSetup">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<_EnableDefines Condition="'$(MONO_ENABLE_LLVM)' == 'true'">$(_EnableDefines);ENABLE_LLVM;ENABLE_LLVM_RUNTIME</_EnableDefines>
|
|
|
|
|
<_EnableDefines Condition="'$(MONO_ENABLE_NETCORE)' == 'true'">$(_EnableDefines);ENABLE_NETCORE</_EnableDefines>
|
|
|
|
|
<_HaveDefines Condition="'$(MONO_ENABLE_BTLS)' == 'true'">$(_HaveDefines);HAVE_BTLS</_HaveDefines>
|
|
|
|
|
<_EnableDefines>$(_EnableDefines.Trim(';'))</_EnableDefines>
|
|
|
|
|
<_HaveDefines>$(_HaveDefines.Trim(';'))</_HaveDefines>
|
|
|
|
|
</PropertyGroup>
|
2020-01-16 16:38:04 +00:00
|
|
|
|
<GetVersionsFromConfigureAC ConfigFileRoot="$(MSBuildThisFileDirectory)..\">
|
|
|
|
|
<Output TaskParameter="MonoVersion" PropertyName="_MonoVersion" />
|
|
|
|
|
<Output TaskParameter="MonoCorlibVersion" PropertyName="_MonoCorlibVersion" />
|
|
|
|
|
</GetVersionsFromConfigureAC>
|
2019-07-26 19:53:28 +00:00
|
|
|
|
<WinConfigSetup ConfigFileRoot="$(MSBuildThisFileDirectory)..\"
|
2020-01-16 16:38:04 +00:00
|
|
|
|
MonoVersion="$(_MonoVersion)"
|
|
|
|
|
MonoCorlibVersion="$(_MonoCorlibVersion)"
|
2019-07-26 19:53:28 +00:00
|
|
|
|
DisableDefines=""
|
|
|
|
|
EnableDefines="$(_EnableDefines)"
|
|
|
|
|
HaveDefines="$(_HaveDefines)"/>
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<Target Name="AfterBuild" DependsOnTargets="AfterBuildWinSetup" />
|
|
|
|
|
|
|
|
|
|
<Target Name="_BackupConfigFile" Condition="'$(_MonoConfigFileBackupExists)' != 'true' and Exists('$(MONO_DIR)/config.h')">
|
|
|
|
|
<Copy SourceFiles="$(MONO_DIR)/config.h" DestinationFiles="$(MONO_DIR)/cygconfig.h" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<Target Name="_CheckConfigFile">
|
|
|
|
|
<_CheckConfigurationProperty ConfFile="$(MONO_DIR)/config.h" ConfRegEx="#include.*cygconfig.h.*">
|
|
|
|
|
<Output TaskParameter="ConfPropertyFoundMatch" PropertyName="_MonoConfigFileBackupExists" />
|
|
|
|
|
</_CheckConfigurationProperty>
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<PrepareForBuildDependsOn>
|
|
|
|
|
_CheckConfigFile;
|
|
|
|
|
_BackupConfigFile;
|
|
|
|
|
$(PrepareForBuildDependsOn);
|
|
|
|
|
</PrepareForBuildDependsOn>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2016-11-10 13:04:39 +00:00
|
|
|
|
</Project>
|