mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-21 12:40:04 +00:00
Bot: Strip symbols
This commit is contained in:
parent
c63bfe00af
commit
f90c99ce64
@ -28,4 +28,10 @@ target_link_libraries(LaikaBot PUBLIC LaikaLib ${BOTPLATFORMLIBS})
|
||||
target_compile_definitions(LaikaBot PUBLIC "$<$<CONFIG:Debug>:DEBUG>")
|
||||
|
||||
# add include directory
|
||||
target_include_directories(LaikaBot PUBLIC ${BOT_INCLUDEDIR})
|
||||
target_include_directories(LaikaBot PUBLIC ${BOT_INCLUDEDIR})
|
||||
|
||||
# strip symbols for POSIX-like binaries
|
||||
if((UNIX AND NOT APPLE) AND NOT RAWCMAKEBUILDTYPE STREQUAL "debug")
|
||||
message(STATUS "Stripping LaikaBot symbols...")
|
||||
target_link_options(LaikaBot PRIVATE -s)
|
||||
endif ()
|
Loading…
Reference in New Issue
Block a user