[Cmake-commits] [cmake-commits] king committed cmLocalVisualStudio7Generator.cxx 1.252 1.253

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 28 10:00:17 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18858/Source

Modified Files:
	cmLocalVisualStudio7Generator.cxx 
Log Message:
Fix .vfproj file version for Intel Fortran 10.1

The commit "Generate proper Intel Fortran project version" replaced the
hard-coded 9.10 value with a runtime registry lookup of the real
version.  Version 10.1 actually uses project file format 9.10, so this
commit switches it back for that version.  See issue #9169.


Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.252
retrieving revision 1.253
diff -C 2 -d -r1.252 -r1.253
*** cmLocalVisualStudio7Generator.cxx	17 Sep 2009 13:18:21 -0000	1.252
--- cmLocalVisualStudio7Generator.cxx	28 Sep 2009 14:00:14 -0000	1.253
***************
*** 1689,1692 ****
--- 1689,1698 ----
                                     cmSystemTools::KeyWOW64_32);
  
+   // Version 10.1 actually uses 9.10 in project files!
+   if(intelVersion == "10.1")
+     {
+     intelVersion = "9.10";
+     }
+ 
    fout << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n"
         << "<VisualStudioProject\n"



More information about the Cmake-commits mailing list