VS: Set Intel Fortran 13 project version

I have tested that it works with:

 Microsoft Visual Studio 10.0.40219.1
 Intel Visual Fortran 13.0.0.041 Beta Build 20120425
This commit is contained in:
Zaheer Chothia 2012-06-01 18:47:00 -04:00 committed by Brad King
parent e200ee6ece
commit 8945489c07

View File

@ -1933,9 +1933,11 @@ cmLocalVisualStudio7Generator
vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion"; vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion, cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
cmSystemTools::KeyWOW64_32); cmSystemTools::KeyWOW64_32);
if (intelVersion.find("12") == 0 || (intelVersion.find("11") == 0)) if (intelVersion.find("13") == 0 ||
intelVersion.find("12") == 0 ||
intelVersion.find("11") == 0)
{ {
// Version 11.x and 12.x actually use 11.0 in project files! // Version 11.x, 12.x, and 13.x actually use 11.0 in project files!
intelVersion = "11.0" ; intelVersion = "11.0" ;
} }
else if(intelVersion.find("10") == 0) else if(intelVersion.find("10") == 0)