diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-05 20:11:20 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-05 20:11:20 (GMT) |
commit | f9fb18f875a37c45f85d7181c6294f0f8e644f70 (patch) | |
tree | fb33a37b0b50a32231663c5ddc4728d584a5e752 /Tests | |
parent | dbbe920865ff397037eb38feddba51369a6ca96b (diff) | |
download | CMake-f9fb18f875a37c45f85d7181c6294f0f8e644f70.zip CMake-f9fb18f875a37c45f85d7181c6294f0f8e644f70.tar.gz CMake-f9fb18f875a37c45f85d7181c6294f0f8e644f70.tar.bz2 |
COMP: let's see if this assembler file works also on other platforms than linux...
Alex
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Assembler/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index e68393e..512e3cf 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -3,7 +3,8 @@ 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_NAME MATCHES Linux AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") +if(NOT SRCS 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) if(CMAKE_ASM-ATT_COMPILER_WORKS) @@ -11,7 +12,8 @@ if(NOT SRCS AND CMAKE_SYSTEM_NAME MATCHES Linux AND CMAKE_SYSTEM_PROCESSOR MATCH # 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_NAME MATCHES Linux AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") +endif(NOT SRCS 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) message(STATUS "No assembler enabled, using C") |