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

9 lines
246 B
CMake
Raw Normal View History

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