summaryrefslogtreecommitdiffstats
path: root/Source
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 /Source
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 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index ae92a0a..e8ab38f 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -787,6 +787,10 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
{
sourcecode += ".fortran.f90";
}
+ else if(lang == "ASM")
+ {
+ sourcecode += ".asm";
+ }
//else
// {
// // Already specialized above or we leave sourcecode == "sourcecode"