summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-06 16:02:48 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-06 16:45:28 (GMT)
commitde63ff489d25095e41deae724f499ea3df05b6cf (patch)
treebb4152a9d441f1b31e0bd8097162058d5f33ff28 /Source/cmGlobalXCodeGenerator.cxx
parent9924486f8a979bf937c8fd7749aaf37c1bd762e1 (diff)
downloadCMake-de63ff489d25095e41deae724f499ea3df05b6cf.zip
CMake-de63ff489d25095e41deae724f499ea3df05b6cf.tar.gz
CMake-de63ff489d25095e41deae724f499ea3df05b6cf.tar.bz2
Xcode: Generate Intel Fortran compiler flags in project files
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 7b2ac8e..0636910 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2250,6 +2250,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
buildSettings->AddAttribute("OTHER_CPLUSPLUSFLAGS",
this->CreateString(flags.c_str()));
}
+ else if (*li == "Fortran")
+ {
+ buildSettings->AddAttribute("IFORT_OTHER_FLAGS",
+ this->CreateString(flags.c_str()));
+ }
else if (*li == "C")
{
buildSettings->AddAttribute("OTHER_CFLAGS",