mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
ENH: add support for Intel Fortran Visual studio IDE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user