1
0
forked from Alepha/Alepha

Debug mode should build unoptimized, to help with backtraces.

This commit is contained in:
2023-10-25 05:02:21 -04:00
parent 89dd3cc81c
commit fe305f52c3

View File

@ -5,6 +5,10 @@ add_compile_options( -fdiagnostics-column-unit=byte )
add_compile_options( -fconcepts-diagnostics-depth=0 )
include_directories( ${CMAKE_BINARY_DIR} . )
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
add_compile_options( -O0 )
add_compile_options( -g )
endif()
list( APPEND CMAKE_CTEST_ARGUMENTS "-VV" )