Bring back debug flags
This commit is contained in:
parent
95ca3ad870
commit
48849518be
1 changed files with 5 additions and 4 deletions
|
|
@ -235,10 +235,11 @@ endif()
|
|||
# TODO: fix prng and P_CreateBlockmap overflow at some point
|
||||
target_compile_options(SRB2SDL2 PRIVATE -fwrapv)
|
||||
|
||||
|
||||
target_compile_options(SRB2SDL2 PRIVATE -O0)
|
||||
target_compile_options(SRB2SDL2 PRIVATE -g)
|
||||
|
||||
if (${CMAKE_BUILD_TYPE} MATCHES Debug)
|
||||
target_compile_options(SRB2SDL2 PRIVATE -O0)
|
||||
else()
|
||||
target_compile_options(SRB2SDL2 PRIVATE -O3)
|
||||
endif()
|
||||
|
||||
# Compiler warnings configuration
|
||||
target_compile_options(SRB2SDL2 PRIVATE
|
||||
|
|
|
|||
Loading…
Reference in a new issue