enable opt assertions in relwithdebinfo build
This commit is contained in:
parent
571011d7b5
commit
f3fe367988
1 changed files with 2 additions and 0 deletions
|
@ -23,3 +23,5 @@ target_link_libraries(endgame-analyzer Boost::program_options)
|
||||||
target_link_libraries(endgame-analyzer readline)
|
target_link_libraries(endgame-analyzer readline)
|
||||||
|
|
||||||
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|
||||||
|
# This enables assertions in the RelWithDebInfo build type (assuming gcc or clang)
|
||||||
|
string(REPLACE "-DNDEBUG" "" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
|
||||||
|
|
Loading…
Reference in a new issue