Use fast linking by lld in Debug builds.
This commit is contained in:
parent
f20e647e29
commit
f097715e29
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-static-libstdc++
|
-static-libstdc++
|
||||||
-static-libgcc
|
-static-libgcc
|
||||||
|
$<$<CONFIG:Debug>:-fuse-ld=lld>
|
||||||
|
$<$<CONFIG:Debug>:-s>
|
||||||
)
|
)
|
||||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
target_link_static_libraries(common_options
|
target_link_static_libraries(common_options
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue