[Cmake-commits] [cmake-commits] king committed cmLocalVisualStudio7Generator.cxx 1.257 1.258
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Dec 2 11:49:56 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv5858/Source
Modified Files:
cmLocalVisualStudio7Generator.cxx
Log Message:
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.
Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.257
retrieving revision 1.258
diff -C 2 -d -r1.257 -r1.258
*** cmLocalVisualStudio7Generator.cxx 20 Oct 2009 20:38:37 -0000 1.257
--- cmLocalVisualStudio7Generator.cxx 2 Dec 2009 16:49:52 -0000 1.258
***************
*** 1421,1424 ****
--- 1421,1428 ----
{
const char* aCompilerTool = "VCCLCompilerTool";
+ if(this->FortranProject)
+ {
+ aCompilerTool = "VFFortranCompilerTool";
+ }
std::string ext = (*sf)->GetExtension();
ext = cmSystemTools::LowerCase(ext);
More information about the Cmake-commits
mailing list