barrier/tool/win/cmake/share/cmake-2.8/Modules/Platform/Linux-Intel-CXX.cmake

9 lines
254 B
CMake

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