2021-07-04 08:16:36 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2024-03-24 04:07:32 +00:00
|
|
|
<!-- Dependencies -->
|
|
|
|
<PropertyGroup Label="UserMacros">
|
|
|
|
<DepsRootDir Condition="'$(Platform)'=='x64'">$(SolutionDir)dep\msvc\deps-x64\</DepsRootDir>
|
|
|
|
<DepsRootDir Condition="'$(Platform)'=='ARM64'">$(SolutionDir)dep\msvc\deps-arm64\</DepsRootDir>
|
|
|
|
<DepsBinDir>$(DepsRootDir)bin\</DepsBinDir>
|
|
|
|
<DepsLibDir>$(DepsRootDir)lib\</DepsLibDir>
|
|
|
|
<DepsIncludeDir>$(DepsRootDir)include\</DepsIncludeDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2022-08-10 03:25:03 +00:00
|
|
|
<PropertyGroup Condition="$(Configuration.Contains(Debug))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
2022-08-10 03:25:03 +00:00
|
|
|
<PropertyGroup Condition="!$(Configuration.Contains(Debug))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
2022-08-10 03:25:03 +00:00
|
|
|
<PropertyGroup Condition="$(Configuration.Contains(LTCG))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
2024-04-11 03:46:25 +00:00
|
|
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
2021-07-04 08:16:36 +00:00
|
|
|
<ConformanceMode>true</ConformanceMode>
|
2022-08-22 09:55:38 +00:00
|
|
|
<PreprocessorDefinitions>_HAS_EXCEPTIONS=0;_CRT_INTERNAL_NONSTDC_NAMES;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2024-03-24 04:07:32 +00:00
|
|
|
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DepsIncludeDir)</AdditionalIncludeDirectories>
|
2023-08-21 12:38:55 +00:00
|
|
|
<AdditionalOptions Condition="!$(Configuration.Contains(Clang))">/Zc:__cplusplus /Zo /utf-8 %(AdditionalOptions)</AdditionalOptions>
|
2024-06-01 03:54:19 +00:00
|
|
|
<AdditionalOptions Condition="$(Configuration.Contains(Clang)) And '$(Platform)'=='x64'"> -msse4.1 %(AdditionalOptions)</AdditionalOptions>
|
2023-08-21 12:38:55 +00:00
|
|
|
<!-- Force ThinLTO for Release builds, MSVC doesn't seem to do it otherwise. -->
|
|
|
|
<AdditionalOptions Condition="$(Configuration.Contains(Clang)) And $(Configuration.Contains(ReleaseLTCG))"> -flto=thin %(AdditionalOptions)</AdditionalOptions>
|
2024-07-06 09:45:08 +00:00
|
|
|
<DisableSpecificWarnings Condition="!$(Configuration.Contains(Clang))">4324;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
2022-08-22 09:55:38 +00:00
|
|
|
<ExceptionHandling>false</ExceptionHandling>
|
2021-07-04 08:16:36 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
2024-03-24 04:07:32 +00:00
|
|
|
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(DepsLibDir)</AdditionalLibraryDirectories>
|
2021-07-04 08:16:36 +00:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2022-08-10 03:25:03 +00:00
|
|
|
<ItemDefinitionGroup Condition="$(Configuration.Contains(Debug))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2022-08-10 03:25:03 +00:00
|
|
|
<ItemDefinitionGroup Condition="$(Configuration.Contains(DebugFast))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<ClCompile>
|
|
|
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
|
|
|
<SupportJustMyCode>false</SupportJustMyCode>
|
|
|
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
2022-08-10 03:25:03 +00:00
|
|
|
<PreprocessorDefinitions>_DEBUGFAST;_ITERATOR_DEBUG_LEVEL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2021-07-04 08:16:36 +00:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2022-08-10 03:25:03 +00:00
|
|
|
<ItemDefinitionGroup Condition="!$(Configuration.Contains(Debug))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<ClCompile>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
2022-08-10 03:25:03 +00:00
|
|
|
<ItemDefinitionGroup Condition="$(Configuration.Contains(LTCG))">
|
2021-07-04 08:16:36 +00:00
|
|
|
<ClCompile>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
</Project>
|