summaryrefslogtreecommitdiff
path: root/Modules/CMakeASM-ATTInformation.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-12 16:15:59 +0100
committerAlex Neundorf <neundorf@kde.org>2011-02-23 21:21:41 +0100
commit74564615889e35b8794e62325aa10d46d525bba4 (patch)
tree30689b9636724edc8cf26636941de94794585ebc /Modules/CMakeASM-ATTInformation.cmake
parent5542d5801417946988e6bf5adb79a10dc9e73b55 (diff)
downloadcmake-74564615889e35b8794e62325aa10d46d525bba4.tar.gz
Change the default rules so they fit better to the new ASM handling
CMAKE_ASM_COMPILE_OBJECT is now so that it fits for GNU, Intel, HP and Sun ASM_ATT had to be adjusted. Also adjusted the default CMAKE_ASM_LINK_EXECUTABLE Alex
Diffstat (limited to 'Modules/CMakeASM-ATTInformation.cmake')
-rw-r--r--Modules/CMakeASM-ATTInformation.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeASM-ATTInformation.cmake b/Modules/CMakeASM-ATTInformation.cmake
index abf560bb01..cb1f5d69c0 100644
--- a/Modules/CMakeASM-ATTInformation.cmake
+++ b/Modules/CMakeASM-ATTInformation.cmake
@@ -18,5 +18,8 @@ SET(ASM_DIALECT "-ATT")
# *.S files are supposed to be preprocessed, so they should not be passed to
# assembler but should be processed by gcc
SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;asm)
+
+SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>")
+
INCLUDE(CMakeASMInformation)
SET(ASM_DIALECT)