Xcode: Generate Intel Fortran compiler flags in project files

This commit is contained in:
Brad King 2015-02-06 11:02:48 -05:00
parent 9924486f8a
commit de63ff489d
1 changed files with 5 additions and 0 deletions

View File

@ -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",