summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-12 09:33:39 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-02-23 20:16:44 (GMT)
commitf745220a32dd123f694c69b2ac871491c26afa76 (patch)
tree9c716a25349390c673b3a0c1e1940dc2c81c9165 /Modules/Compiler
parent00735d40556a97996697d546f6efb3bd4592202a (diff)
downloadCMake-f745220a32dd123f694c69b2ac871491c26afa76.zip
CMake-f745220a32dd123f694c69b2ac871491c26afa76.tar.gz
CMake-f745220a32dd123f694c69b2ac871491c26afa76.tar.bz2
Add support for ASm for the HP compiler.
Alex
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/HP-ASM.cmake1
-rw-r--r--Modules/Compiler/HP-C.cmake5
2 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Compiler/HP-ASM.cmake b/Modules/Compiler/HP-ASM.cmake
new file mode 100644
index 0000000..3eeab3f
--- /dev/null
+++ b/Modules/Compiler/HP-ASM.cmake
@@ -0,0 +1 @@
+SET(CMAKE_ASM_VERBOSE_FLAG "-v")
diff --git a/Modules/Compiler/HP-C.cmake b/Modules/Compiler/HP-C.cmake
index abf384a..71add35 100644
--- a/Modules/Compiler/HP-C.cmake
+++ b/Modules/Compiler/HP-C.cmake
@@ -1 +1,4 @@
-SET(CMAKE_C_VERBOSE_FLAG "-v")
+SET(CMAKE_ASM_VERBOSE_FLAG "-v")
+SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
+
+SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")