mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
Linux: Strip debug symbols from launcher (#913)
* Add stripping for linux launcher build * Fix launcher strip * Removed garbage * Fix launcher link option formatting --------- Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -767,6 +767,10 @@ endif()
|
|||||||
install(TARGETS kyty_emulator DESTINATION .)
|
install(TARGETS kyty_emulator DESTINATION .)
|
||||||
if(KYTY_BUILD_LAUNCHER)
|
if(KYTY_BUILD_LAUNCHER)
|
||||||
add_subdirectory("${KYTY_SOURCE_DIR}/launcher" "${CMAKE_CURRENT_BINARY_DIR}/launcher")
|
add_subdirectory("${KYTY_SOURCE_DIR}/launcher" "${CMAKE_CURRENT_BINARY_DIR}/launcher")
|
||||||
|
|
||||||
|
if(LINUX)
|
||||||
|
target_link_options(launcher PRIVATE $<$<CONFIG:Release>:-Wl,--strip-all>)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(KYTY_CLANG_CL)
|
if(KYTY_CLANG_CL)
|
||||||
install(FILES "${KYTY_THIRD_PARTY_DIR}/winpthread/bin/libwinpthread-1.dll" DESTINATION .)
|
install(FILES "${KYTY_THIRD_PARTY_DIR}/winpthread/bin/libwinpthread-1.dll" DESTINATION .)
|
||||||
|
|||||||
Reference in New Issue
Block a user