Fix .vfproj files with per-source settings
The Intel Fortran plugin to VS defines VFFortranCompilerTool as the compiler tool. This commit fixes generated projects to use that tool for per-source settings instead of VCCLCompilerTool. We were already using it for target-wide compiler settings.
This commit is contained in:
parent
aff3147917
commit
8c5d817779
|
@ -1420,6 +1420,10 @@ void cmLocalVisualStudio7Generator
|
||||||
else if(!fcinfo.FileConfigMap.empty())
|
else if(!fcinfo.FileConfigMap.empty())
|
||||||
{
|
{
|
||||||
const char* aCompilerTool = "VCCLCompilerTool";
|
const char* aCompilerTool = "VCCLCompilerTool";
|
||||||
|
if(this->FortranProject)
|
||||||
|
{
|
||||||
|
aCompilerTool = "VFFortranCompilerTool";
|
||||||
|
}
|
||||||
std::string ext = (*sf)->GetExtension();
|
std::string ext = (*sf)->GetExtension();
|
||||||
ext = cmSystemTools::LowerCase(ext);
|
ext = cmSystemTools::LowerCase(ext);
|
||||||
if(ext == "idl")
|
if(ext == "idl")
|
||||||
|
|
Loading…
Reference in New Issue