Skip to content

Commit

Permalink
Add Debug/Release Related Defines (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks authored Dec 15, 2023
1 parent 4e69eb4 commit 8b11fa5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vs/windows.undocked.props
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@
<ClCompile Condition="$(Platform.StartsWith('ARM64'))">
<PreprocessorDefinitions>_ARM64_;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<!-- Debug/Release related definitions -->
<ClCompile Condition="'$(Configuration)'=='Debug'">
<PreprocessorDefinitions>DBG;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Condition="'$(Configuration)'=='Release'">
<PreprocessorDefinitions>NDEBUG;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem Condition="'$(UndockedType)' == 'exe'">Console</SubSystem>
<CETCompat Condition="'$(Platform)'!='ARM64'">true</CETCompat>
Expand Down

0 comments on commit 8b11fa5

Please sign in to comment.