Enable /Ob1 in Debug builds (#16932)

This makes the build a tiny bit faster (less time spent linking)
and makes everything run roughly 50% faster.
This commit is contained in:
Leonard Hecker 2024-03-25 19:34:49 +01:00 committed by GitHub
parent 038cfca029
commit 8403b38c81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,6 +182,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>