summaryrefslogtreecommitdiffstats
path: root/Tests/Assembler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-15 13:50:51 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-15 15:03:57 (GMT)
commitf3477ed88c08b8075e047d61f9f19789a7dd214a (patch)
tree1a87c2bf9f1b83a55abed8039c4652ec9039b8e5 /Tests/Assembler
parent7e8471ce7bc6ea2537c9bf513935dfe1e4424c5e (diff)
downloadCMake-f3477ed88c08b8075e047d61f9f19789a7dd214a.zip
CMake-f3477ed88c08b8075e047d61f9f19789a7dd214a.tar.gz
CMake-f3477ed88c08b8075e047d61f9f19789a7dd214a.tar.bz2
Xcode: Set ASM source language in project file (#13472)
Also teach the Assembler test to build under Xcode. Suggested-by: Tobias Pape <tobiaspape@gmail.com>
Diffstat (limited to 'Tests/Assembler')
-rw-r--r--Tests/Assembler/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt
index 415fcce..3596d05 100644
--- a/Tests/Assembler/CMakeLists.txt
+++ b/Tests/Assembler/CMakeLists.txt
@@ -7,7 +7,7 @@ set(SRCS)
# (at least) the following toolchains can process assembler files directly
# and also generate assembler files from C:
-if("${CMAKE_GENERATOR}" MATCHES "Makefile")
+if("${CMAKE_GENERATOR}" MATCHES "Makefile|Xcode")
if(("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|Clang|HP|SunPro|XL)$") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" AND UNIX))
set(C_FLAGS "${CMAKE_C_FLAGS}")
separate_arguments(C_FLAGS)