diff options
author | Brad King <brad.king@kitware.com> | 2009-12-02 16:49:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-02 16:49:52 (GMT) |
commit | 8c5d8177799cfd1d8a5646dadf28e95b1b85a886 (patch) | |
tree | 74036daa11a6a8a1a959a0c106cb4d1ed9c823b4 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | aff31479176b531042e7f5d89fbd1cef392cea9a (diff) | |
download | CMake-8c5d8177799cfd1d8a5646dadf28e95b1b85a886.zip CMake-8c5d8177799cfd1d8a5646dadf28e95b1b85a886.tar.gz CMake-8c5d8177799cfd1d8a5646dadf28e95b1b85a886.tar.bz2 |
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.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 2084808..c9b9722 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1420,6 +1420,10 @@ void cmLocalVisualStudio7Generator else if(!fcinfo.FileConfigMap.empty()) { const char* aCompilerTool = "VCCLCompilerTool"; + if(this->FortranProject) + { + aCompilerTool = "VFFortranCompilerTool"; + } std::string ext = (*sf)->GetExtension(); ext = cmSystemTools::LowerCase(ext); if(ext == "idl") |