2020-12-14 20:20:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
|
|
|
<!-- Project configurations -->
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!-- Props that should be disabled while building on CI server -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
|
|
|
|
<ClCompile>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<!-- C++ source compile-specific things for all configurations -->
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<ConformanceMode>false</ConformanceMode>
|
2020-12-21 23:51:48 +08:00
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
2020-12-14 20:20:45 +08:00
|
|
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
|
|
|
<AdditionalOptions>/await %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
<PreprocessorDefinitions>_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
</Link>
|
2020-12-21 23:51:48 +08:00
|
|
|
<Lib>
|
|
|
|
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
|
|
|
|
</Lib>
|
2020-12-14 20:20:45 +08:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<!-- C++ source compile-specific things for Debug/Release configurations -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<SDLCheck>false</SDLCheck>
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<!-- Global props -->
|
|
|
|
<PropertyGroup Label="Globals" Condition="'$(OverrideWindowsTargetPlatformVersion)'!='True'">
|
|
|
|
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- Props that are constant for both Debug and Release configurations -->
|
|
|
|
<PropertyGroup Label="Configuration">
|
2021-06-29 18:06:12 +08:00
|
|
|
<PlatformToolset Condition="'$(OverridePlatformToolset)'!='True'">v142</PlatformToolset>
|
2020-12-14 20:20:45 +08:00
|
|
|
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<SpectreMitigation>Spectre</SpectreMitigation>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- Debug/Release props -->
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
</Project>
|