We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9858f3a + 32386ce commit ea94a13Copy full SHA for ea94a13
CMakeLists.txt
@@ -38,11 +38,7 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
38
### Code block from: https://cliutils.gitlab.io/modern-cmake/chapters/projects/submodule.html
39
include(FetchContent)
40
41
- if(UNIX)
42
- SET(COMPILE_FLAGS "-g -ggdb -O0 -fno-rtti")
43
- elseif(WIN32)
44
- SET(COMPILE_FLAGS "")
45
- endif()
+ SET(COMPILE_FLAGS "-ggdb -Ofast -fno-rtti") # optimize but also emit debug symbols
46
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_FLAGS}" )
47
48
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
0 commit comments