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

9 lines
242 B
CMake
Raw Normal View History

INCLUDE(Platform/Linux-Intel)
IF(XIAR)
2009-10-10 00:11:47 +04:00
# 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)