cmake: add DEBUG
define for debug builds
This commit is contained in:
@@ -33,6 +33,7 @@ include(CPack)
|
|||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
||||||
add_compile_definitions(CMAKE)
|
add_compile_definitions(CMAKE)
|
||||||
|
add_compile_definitions("$<$<CONFIG:DEBUG>:DEBUG>")
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Disables *_s function warnings
|
# Disables *_s function warnings
|
||||||
|
Reference in New Issue
Block a user