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,9 +23,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
add_link_options(-fuse-ld=lld)
|
add_link_options(-fuse-ld=lld)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT WINDOWS)
|
if (CMAKE_BUILD_TYPE MATCHES Release AND NOT WINDOWS)
|
||||||
# Include debug symbols in all linux builds
|
# Include debug symbols in all linux builds
|
||||||
add_compile_options(-g -gfull -g3)
|
message("Including debug symbols")
|
||||||
|
add_compile_options(-g -gline-tables-only)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Grab all cpp and hpp files in our source directories.
|
# Grab all cpp and hpp files in our source directories.
|
||||||
|
|
Loading…
Reference in New Issue