2018-04-28 10:50:47 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-18 08:05:21 +00:00
|
|
|
<Project>
|
2022-07-31 07:39:35 +00:00
|
|
|
<!--
|
|
|
|
This file is included by *everything* (Externals and Dolphin code).
|
|
|
|
If you want to define something that only applies to Dolphin code, use Base.Dolphin.props
|
|
|
|
-->
|
2020-08-19 00:34:06 +00:00
|
|
|
<Import Project="Base.Macros.props" Condition="'$(BaseMacrosImported)'==''" />
|
2013-12-07 20:12:02 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<IntDir>$(BuildRootDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
|
|
|
|
<OutDir>$(IntDir)bin\</OutDir>
|
2022-04-18 21:34:54 +00:00
|
|
|
<!--Set link /INCREMENTAL:NO to remove some entropy from builds (assists with deterministic build)-->
|
2020-08-28 06:59:22 +00:00
|
|
|
<LinkIncremental>false</LinkIncremental>
|
2013-12-07 20:12:02 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<!--ClCompile Base-->
|
|
|
|
<ClCompile>
|
2021-06-03 22:42:23 +00:00
|
|
|
<!--Base external header policy: ignore all warnings except template instantiations, and disable analyzer-->
|
|
|
|
<ExternalWarningLevel>TurnOffAllWarnings</ExternalWarningLevel>
|
|
|
|
<ExternalTemplatesDiagnostics>true</ExternalTemplatesDiagnostics>
|
|
|
|
<DisableAnalyzeExternal>true</DisableAnalyzeExternal>
|
2021-11-13 18:23:22 +00:00
|
|
|
<TreatAngleIncludeAsExternal>true</TreatAngleIncludeAsExternal>
|
2022-07-31 07:39:35 +00:00
|
|
|
|
2017-06-07 11:43:08 +00:00
|
|
|
<WarningLevel>Level4</WarningLevel>
|
2014-08-20 03:20:29 +00:00
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
2013-12-07 20:12:02 +00:00
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
2020-08-27 10:20:54 +00:00
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
2013-12-07 20:12:02 +00:00
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
2022-07-24 05:11:12 +00:00
|
|
|
<!--This doesn't seem required but nice to be future-proof-->
|
|
|
|
<LanguageStandard_C>stdc17</LanguageStandard_C>
|
2017-05-26 16:03:32 +00:00
|
|
|
<!--Enable latest C++ standard-->
|
|
|
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
2017-05-26 12:36:33 +00:00
|
|
|
<!--Enable Standard Conformance-->
|
2019-08-15 15:47:55 +00:00
|
|
|
<ConformanceMode>true</ConformanceMode>
|
2020-08-28 04:58:48 +00:00
|
|
|
<!--Enforce some behaviors as standards-conformant when they don't default as such.-->
|
2023-02-22 21:22:08 +00:00
|
|
|
<AdditionalOptions>/Zc:__cplusplus,enumTypes,externConstexpr,preprocessor,templateScope,throwingNew /volatile:iso %(AdditionalOptions)</AdditionalOptions>
|
2014-08-20 03:06:27 +00:00
|
|
|
<!--Enable detailed debug info-->
|
2017-06-02 10:28:33 +00:00
|
|
|
<AdditionalOptions>/Zo %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
<!--Treat sources as utf-8-->
|
|
|
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
2014-08-15 06:51:13 +00:00
|
|
|
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
2017-06-02 23:38:41 +00:00
|
|
|
<DiagnosticsFormat>Caret</DiagnosticsFormat>
|
2020-08-28 08:39:38 +00:00
|
|
|
<!--
|
|
|
|
A (currently) hidden switch, like /Brepro, furthermore enabling warnings about non-deterministic code.
|
|
|
|
This may be advantageous over /Brepro, which inits __DATE__, __TIME__, etc. equal to 1 (and allows
|
|
|
|
them to be redefined), which could have unexpected results.
|
|
|
|
-->
|
|
|
|
<AdditionalOptions>/experimental:deterministic %(AdditionalOptions)</AdditionalOptions>
|
2022-04-18 21:43:15 +00:00
|
|
|
<!--
|
|
|
|
pathmap replaces path prefixes of source files with a hardcoded value, assisting with keeping output
|
|
|
|
files uniform even if actually built from different locations. The mapped path doesn't really need full
|
|
|
|
drive prefix, but it keeps things human readable. Note the trailing "\" is actually to be escaped by a
|
|
|
|
preceeding "\" in the expanded variable.
|
|
|
|
-->
|
|
|
|
<AdditionalOptions>/pathmap:"$(DolphinRootDir)\"=d:\ %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
<AdditionalOptions>/pathmap:"$(WindowsSdkDir)\"=w:\ %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
<AdditionalOptions>/pathmap:"$(VCToolsetsDir)\"=v:\ %(AdditionalOptions)</AdditionalOptions>
|
2013-12-07 20:12:02 +00:00
|
|
|
</ClCompile>
|
|
|
|
<!--ClCompile Debug-->
|
|
|
|
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
2022-04-02 22:22:27 +00:00
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2013-12-07 20:12:02 +00:00
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
</ClCompile>
|
2020-08-19 04:54:08 +00:00
|
|
|
<ClCompile Condition="'$(Configuration)'=='Debug' And '$(EnableASAN)'=='true'">
|
|
|
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
|
|
|
</ClCompile>
|
2013-12-07 20:12:02 +00:00
|
|
|
<!--ClCompile Release-->
|
|
|
|
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
|
|
<StringPooling>true</StringPooling>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
2023-02-22 21:22:08 +00:00
|
|
|
<AdditionalOptions>/Gw /Zc:checkGwOdr %(AdditionalOptions)</AdditionalOptions>
|
2020-08-27 10:20:54 +00:00
|
|
|
<WholeProgramOptimization Condition="'$(DolphinRelease)'=='true'">true</WholeProgramOptimization>
|
2013-12-07 20:12:02 +00:00
|
|
|
</ClCompile>
|
|
|
|
<!--Link Base-->
|
|
|
|
<Link>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
|
2022-04-18 21:34:54 +00:00
|
|
|
<AdditionalOptions>/experimental:deterministic %(AdditionalOptions)</AdditionalOptions>
|
2013-12-07 20:12:02 +00:00
|
|
|
</Link>
|
|
|
|
<!--Link Release-->
|
|
|
|
<Link Condition="'$(Configuration)'=='Release'">
|
|
|
|
<LinkTimeCodeGeneration Condition="'$(DolphinRelease)'=='true'">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
</Link>
|
|
|
|
<Lib>
|
|
|
|
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
|
|
|
|
<LinkTimeCodeGeneration Condition="'$(DolphinRelease)'=='true'">true</LinkTimeCodeGeneration>
|
2022-04-18 21:34:54 +00:00
|
|
|
<AdditionalOptions>/experimental:deterministic %(AdditionalOptions)</AdditionalOptions>
|
2013-12-07 20:12:02 +00:00
|
|
|
</Lib>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup />
|
2014-05-28 04:43:49 +00:00
|
|
|
</Project>
|