Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
fix: #13, _DEBUG not defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Oct 29, 2022
1 parent ac2b24a commit 3bec2b7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
12 changes: 12 additions & 0 deletions src/ucxxrt.props
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@
</Link>
</ItemDefinitionGroup>

<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>

<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>

<ItemDefinitionGroup>
<ClCompile>
<!-- C++ Exception Mode, /EHa -->
Expand Down
14 changes: 13 additions & 1 deletion src/ucxxrtlib.props
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,19 @@ xcopy /D /S /Y /V /F "$(SolutionDir)lib" "$(SolutionDir)ucxxrt\lib\" /EXCLUDE:$(
<AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>


<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>

<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>

<ItemDefinitionGroup>
<ClCompile>
<!-- C++ Exception Mode, /EHa -->
Expand Down
2 changes: 1 addition & 1 deletion veil
Submodule veil updated from 909d4c to f1bc93

0 comments on commit 3bec2b7

Please sign in to comment.