We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427c24f commit 273fd94Copy full SHA for 273fd94
CMakeLists.txt
@@ -17,6 +17,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
17
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG)
18
elseif (CMAKE_BUILD_TYPE STREQUAL "Release")
19
add_compile_options(-O3 -DNDEBUG -Wall -march=native -mtune=native -ffast-math -flto)
20
+ add_link_options(-flto)
21
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_OFF)
22
elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
23
add_compile_options(-O2 -g3 -DNDEBUG -Wall -march=native -mtune=native -ffast-math -fno-omit-frame-pointer)
0 commit comments