Work on reducing file sizes, by adding fewer debug symbols.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b3c9c95345
commit
28ba531a47
|
@ -23,10 +23,11 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||
add_link_options(-fuse-ld=lld)
|
||||
endif ()
|
||||
|
||||
if (NOT WINDOWS)
|
||||
if (CMAKE_BUILD_TYPE MATCHES Release AND NOT WINDOWS)
|
||||
# Include debug symbols in all linux builds
|
||||
add_compile_options(-g -gfull -g3)
|
||||
endif()
|
||||
message("Including debug symbols")
|
||||
add_compile_options(-g -gline-tables-only)
|
||||
endif ()
|
||||
|
||||
# Grab all cpp and hpp files in our source directories.
|
||||
file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp")
|
||||
|
|
Loading…
Reference in New Issue