summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-Intel-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-01 17:55:13 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-01 17:55:13 (GMT)
commit2eca4dd2d127ab8e7ba211a17139983bbef61802 (patch)
tree7d21495e251a32cac727b9552b1f9dad46dfb092 /Modules/Platform/Linux-Intel-CXX.cmake
parentdc78838737a14a887e2932cb06a0adaaf8c80fef (diff)
downloadCMake-2eca4dd2d127ab8e7ba211a17139983bbef61802.zip
CMake-2eca4dd2d127ab8e7ba211a17139983bbef61802.tar.gz
CMake-2eca4dd2d127ab8e7ba211a17139983bbef61802.tar.bz2
Use Intel for Linux flags only on Linux
The commit "Split Intel compiler information files" moved some Linux specific flags into the platform-independent Intel compiler info files. This moves them back.
Diffstat (limited to 'Modules/Platform/Linux-Intel-CXX.cmake')
-rw-r--r--Modules/Platform/Linux-Intel-CXX.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-Intel-CXX.cmake b/Modules/Platform/Linux-Intel-CXX.cmake
new file mode 100644
index 0000000..faa19e3
--- /dev/null
+++ b/Modules/Platform/Linux-Intel-CXX.cmake
@@ -0,0 +1,6 @@
+INCLUDE(Platform/Linux-Intel)
+IF(XIAR)
+ SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
+ "${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
+ "${XIAR} -s <TARGET> ")
+ENDIF(XIAR)