add lto option
All checks were successful
fsfw/fsfw example hosted/pipeline/head This commit looks good
All checks were successful
fsfw/fsfw example hosted/pipeline/head This commit looks good
This commit is contained in:
parent
99a04398af
commit
21b3e46a72
@ -22,6 +22,12 @@ endif()
|
|||||||
# Project Name
|
# Project Name
|
||||||
project(fsfw-example-hosted C CXX)
|
project(fsfw-example-hosted C CXX)
|
||||||
|
|
||||||
|
option(OBSW_ENABLE_IPO "Enable IPO/LTO optimization" ON)
|
||||||
|
|
||||||
|
if(OBSW_ENABLE_IPO)
|
||||||
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Pre-Sources preparation
|
# Pre-Sources preparation
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user