mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-04 12:03:41 +02:00
CMakeLists.txt: Set strip flag for GNU linkers on release config.
This commit is contained in:
parent
5fd76814c1
commit
71cb07e6e7
1 changed files with 5 additions and 0 deletions
|
|
@ -87,6 +87,11 @@ add_compile_options(
|
||||||
"$<$<CONFIG:MinSizeRel>:$<$<COMPILE_LANG_AND_ID:CXX,MSVC>:/O1>>"
|
"$<$<CONFIG:MinSizeRel>:$<$<COMPILE_LANG_AND_ID:CXX,MSVC>:/O1>>"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_link_options(
|
||||||
|
# Release
|
||||||
|
"$<$<CONFIG:Release>:$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-s>>"
|
||||||
|
)
|
||||||
|
|
||||||
# Project config file
|
# Project config file
|
||||||
configure_file(config.hpp.in "${PROJECT_BINARY_DIR}/config.hpp" @ONLY)
|
configure_file(config.hpp.in "${PROJECT_BINARY_DIR}/config.hpp" @ONLY)
|
||||||
include_directories(${PROJECT_BINARY_DIR})
|
include_directories(${PROJECT_BINARY_DIR})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue