summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-12 15:15:59 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-02-23 20:21:41 (GMT)
commit74564615889e35b8794e62325aa10d46d525bba4 (patch)
tree30689b9636724edc8cf26636941de94794585ebc /Modules/Compiler
parent5542d5801417946988e6bf5adb79a10dc9e73b55 (diff)
downloadCMake-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/Compiler')
-rw-r--r--Modules/Compiler/GNU-ASM.cmake2
-rw-r--r--Modules/Compiler/Intel-ASM.cmake2
-rw-r--r--Modules/Compiler/SunPro-ASM.cmake2
3 files changed, 0 insertions, 6 deletions
diff --git a/Modules/Compiler/GNU-ASM.cmake b/Modules/Compiler/GNU-ASM.cmake
index aa21584..e07401d 100644
--- a/Modules/Compiler/GNU-ASM.cmake
+++ b/Modules/Compiler/GNU-ASM.cmake
@@ -3,6 +3,4 @@ include(Compiler/GNU)
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S;asm)
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
-
__compiler_gnu(ASM)
diff --git a/Modules/Compiler/Intel-ASM.cmake b/Modules/Compiler/Intel-ASM.cmake
index 07437a8..aa0d8df 100644
--- a/Modules/Compiler/Intel-ASM.cmake
+++ b/Modules/Compiler/Intel-ASM.cmake
@@ -7,5 +7,3 @@ 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>")
diff --git a/Modules/Compiler/SunPro-ASM.cmake b/Modules/Compiler/SunPro-ASM.cmake
index 5f5fafe..dfc5702 100644
--- a/Modules/Compiler/SunPro-ASM.cmake
+++ b/Modules/Compiler/SunPro-ASM.cmake
@@ -1,7 +1,5 @@
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
-
SET(CMAKE_ASM_VERBOSE_FLAG "-#")
SET(CMAKE_SHARED_LIBRARY_ASM_FLAGS "-KPIC")