diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-05 20:32:40 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-05 20:32:40 (GMT) |
commit | 0589ff74ae3d37140c63d195f4667b8478d7f67c (patch) | |
tree | 6f58ff833279a57f9fc1e38a311ef5bad8f51177 /Tests/Assembler | |
parent | f9fb18f875a37c45f85d7181c6294f0f8e644f70 (diff) | |
download | CMake-0589ff74ae3d37140c63d195f4667b8478d7f67c.zip CMake-0589ff74ae3d37140c63d195f4667b8478d7f67c.tar.gz CMake-0589ff74ae3d37140c63d195f4667b8478d7f67c.tar.bz2 |
COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures
Alex
Diffstat (limited to 'Tests/Assembler')
-rw-r--r-- | Tests/Assembler/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/Assembler/main-linux-x86-gas.s | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index 512e3cf..836c88c 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -3,7 +3,7 @@ project(Assembler) set(SRCS) # if no file has been set as source and we are on linux with an x86 processor try to use the gas/as assembler -if(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") +if(NOT SRCS AND NOT APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") # if(NOT SRCS AND CMAKE_SYSTEM_NAME MATCHES Linux AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") message(STATUS "Trying to enable ASM-ATT for Linux/x86") enable_language(ASM-ATT) @@ -12,7 +12,7 @@ if(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") # this assembler file was created using gcc -S main.c set(SRCS main-linux-x86-gas.s) endif(CMAKE_ASM-ATT_COMPILER_WORKS) -endif(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") +endif(NOT SRCS AND NOT APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") # endif(NOT SRCS AND CMAKE_SYSTEM_NAME MATCHES Linux AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") if(NOT SRCS) diff --git a/Tests/Assembler/main-linux-x86-gas.s b/Tests/Assembler/main-linux-x86-gas.s index 9e260a3..da8e845 100644 --- a/Tests/Assembler/main-linux-x86-gas.s +++ b/Tests/Assembler/main-linux-x86-gas.s @@ -1,4 +1,3 @@ - .file "main.c" .section .rodata .align 4 .LC0: |