ENH: add support for Intel Fortran Visual studio IDE

This commit is contained in:
Bill Hoffman
2008-04-30 13:26:04 -04:00
parent e1b2fb4c75
commit 10c91ded4f
8 changed files with 320 additions and 37 deletions
+15
View File
@@ -704,3 +704,18 @@ void RegisterVisualStudioMacros(const std::string& macrosFile,
}
}
}
bool cmGlobalVisualStudioGenerator::TargetIsFortranOnly(cmTarget& target)
{
// check to see if this is a fortran build
std::set<cmStdString> languages;
target.GetLanguages(languages);
const char* ext = ".vcproj";
if(languages.size() == 1)
{
if(*languages.begin() == "Fortran")
{
return true;
}
}
return false;
}