Define DEBUG preprocessor symbol for debug builds

This commit is contained in:
Mike Ellery
2018-08-07 15:21:49 -07:00
committed by seelabs
parent a7ed5bfbee
commit 2c13ca0109

View File

@@ -192,7 +192,7 @@ set_target_properties (common
target_compile_features (common INTERFACE cxx_std_14)
target_compile_definitions (common
INTERFACE
$<$<CONFIG:Debug>:_DEBUG>
$<$<CONFIG:Debug>:DEBUG _DEBUG>
$<$<AND:$<BOOL:profile>,$<NOT:$<BOOL:assert>>>:NDEBUG>)
if (MSVC)