cmake: let CMake choose when adding /DNDEBUG on windows
ref: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/Platform/Windows-MSVC.cmake?ref_type=heads#L489-L491
This commit is contained in:
@@ -82,7 +82,6 @@ if(MSVC)
|
||||
"/D_CRT_SECURE_NO_DEPRECATE"
|
||||
"/MP" # Build with multiple processes
|
||||
"/Zc:preprocessor" # Enable preprocessor conformance mode
|
||||
"/DNDEBUG"
|
||||
"/fp:precise"
|
||||
)
|
||||
# MSVC warning suppressions
|
||||
|
||||
@@ -27,7 +27,6 @@ if(MSVC)
|
||||
"/D_CRT_SECURE_NO_WARNINGS"
|
||||
"/D_CRT_SECURE_NO_DEPRECATE"
|
||||
"/MP" # Build with multiple processes
|
||||
"/DNDEBUG"
|
||||
)
|
||||
# MSVC warning suppressions
|
||||
list(APPEND FLATZINC_COMPILE_OPTIONS
|
||||
|
||||
@@ -180,7 +180,6 @@ if(MSVC)
|
||||
"/D_CRT_SECURE_NO_DEPRECATE"
|
||||
"/MP" # Build with multiple processes
|
||||
"/Zc:preprocessor" # Enable preprocessor conformance mode
|
||||
"/DNDEBUG"
|
||||
)
|
||||
# MSVC warning suppressions
|
||||
list(APPEND GLOP_COMPILE_OPTIONS
|
||||
|
||||
Reference in New Issue
Block a user