summaryrefslogtreecommitdiff
path: root/msvc/Base.props
diff options
context:
space:
mode:
Diffstat (limited to 'msvc/Base.props')
-rw-r--r--msvc/Base.props14
1 files changed, 7 insertions, 7 deletions
diff --git a/msvc/Base.props b/msvc/Base.props
index c2cff15..d2ebf8a 100644
--- a/msvc/Base.props
+++ b/msvc/Base.props
@@ -19,15 +19,15 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DiagnosticsFormat>Caret</DiagnosticsFormat>
</ClCompile>
- <!--ClCompile Debug-->
- <ClCompile Condition="'$(Configuration)'=='Debug'">
+ <!--ClCompile Debug*-->
+ <ClCompile Condition="$(Configuration.StartsWith('Debug'))">
<Optimization>Disabled</Optimization>
</ClCompile>
- <ClCompile Condition="'$(Configuration)'=='Debug' And '$(EnableASAN)'=='true'">
+ <ClCompile Condition="$(Configuration.StartsWith('Debug')) And '$(EnableASAN)'=='true'">
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
</ClCompile>
- <!--ClCompile Release-->
- <ClCompile Condition="'$(Configuration)'=='Release'">
+ <!--ClCompile Release*-->
+ <ClCompile Condition="$(Configuration.StartsWith('Release'))">
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -41,8 +41,8 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
- <!--Link Release-->
- <Link Condition="'$(Configuration)'=='Release'">
+ <!--Link Release*-->
+ <Link Condition="$(Configuration.StartsWith('Release'))">
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>