diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-02-12 15:15:59 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-02-23 20:21:41 (GMT) |
commit | 74564615889e35b8794e62325aa10d46d525bba4 (patch) | |
tree | 30689b9636724edc8cf26636941de94794585ebc /Modules/CMakeASM-ATTInformation.cmake | |
parent | 5542d5801417946988e6bf5adb79a10dc9e73b55 (diff) | |
download | CMake-74564615889e35b8794e62325aa10d46d525bba4.zip CMake-74564615889e35b8794e62325aa10d46d525bba4.tar.gz CMake-74564615889e35b8794e62325aa10d46d525bba4.tar.bz2 |
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.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeASM-ATTInformation.cmake b/Modules/CMakeASM-ATTInformation.cmake index abf560b..cb1f5d6 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) |