Better debug configuration
This commit is contained in:
parent
e4eeeb6ac2
commit
01943328df
@ -22,6 +22,7 @@ enable_cxx_compiler_flag_if_supported("-Wshadow")
|
||||
enable_cxx_compiler_flag_if_supported("-Wpedantic")
|
||||
enable_cxx_compiler_flag_if_supported("-pedantic")
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
enable_cxx_compiler_flag_if_supported("-O0")
|
||||
enable_cxx_compiler_flag_if_supported("-g")
|
||||
enable_cxx_compiler_flag_if_supported("-pg")
|
||||
enable_cxx_compiler_flag_if_supported("-finstrument-functions")
|
||||
|
Loading…
Reference in New Issue
Block a user