summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Intel-ASM.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-01-30 20:14:53 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-02-23 20:15:18 (GMT)
commit38f92bfbe19afa18f92d336b69576bcba5d1cc35 (patch)
tree022a8f0048729a3430c7c6ef8c404393774af316 /Modules/Compiler/Intel-ASM.cmake
parent4b40d4297aa7b984e9b5fa905cdee21960ec4f8a (diff)
downloadCMake-38f92bfbe19afa18f92d336b69576bcba5d1cc35.zip
CMake-38f92bfbe19afa18f92d336b69576bcba5d1cc35.tar.gz
CMake-38f92bfbe19afa18f92d336b69576bcba5d1cc35.tar.bz2
Add ASM support for the Intel compiler
Alex
Diffstat (limited to 'Modules/Compiler/Intel-ASM.cmake')
-rw-r--r--Modules/Compiler/Intel-ASM.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Compiler/Intel-ASM.cmake b/Modules/Compiler/Intel-ASM.cmake
new file mode 100644
index 0000000..07437a8
--- /dev/null
+++ b/Modules/Compiler/Intel-ASM.cmake
@@ -0,0 +1,11 @@
+SET(CMAKE_ASM_VERBOSE_FLAG "-v")
+
+SET(CMAKE_ASM_FLAGS_INIT "")
+SET(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
+SET(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
+SET(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
+SET(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
+
+set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s)
+
+set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")