CMake/Modules/Platform/Linux-Intel-C.cmake

9 lines
242 B
CMake

INCLUDE(Platform/Linux-Intel)
IF(XIAR)
# INTERPROCEDURAL_OPTIMIZATION
SET(CMAKE_C_COMPILE_OPTIONS_IPO -ipo)
SET(CMAKE_C_CREATE_STATIC_LIBRARY_IPO
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
"${XIAR} -s <TARGET> ")
ENDIF(XIAR)