We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee1fec4 commit 7e6fe21Copy full SHA for 7e6fe21
CMakeLists.txt
@@ -24,7 +24,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
24
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
25
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
26
# Enable lots of warnings
27
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wno-deprecated-declarations -Wswitch-enum")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG -DUSE_STD_STRING -Wall -Wpedantic -Werror -Wno-deprecated-declarations -Wswitch-enum")
28
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
29
# This would be the place to enable warnings for Windows builds, although
30
# config.inc doesn't seem to do that currently
0 commit comments