[CMake] Building cmake-gui on windoze from scratch...

Dick Munroe munroe at csworks.com
Tue Sep 10 11:37:40 EDT 2013


No patch, but the fix is in cmLocalVisualStudio7Generator.cxx

Search for: intelVersion

Shortly afterward there is an if statement that begins if 
(intelVersion.find("13")...

Add:

intelVersion.find("14) == 0 ||

to the if statement.

However, given that the version of Intel Fortran that actually uses 9.10 
as a project format is very, very old I would strongly suggest 
defaulting the intelVersion string to:

intelVersion - "11.0" ;

and changing the if statement to:

if (intelVersion.find("10") == 0)
   {
     intelVersion = "9.10" ;
   }

Then you wouldn't have to patch cmLocalVisualStudio7Generator.cxx when 
new versions of Fortran are released, until the project file format 
actually changes to something like "12.0".

Best,

Dick Munroe

On 9/9/13 11:26 AM, Brad King wrote:
> On 09/07/2013 08:40 AM, Dick Munroe wrote:
>> Anyway, I'm trying to use the latest version of Intel Fortran which is
>> V14.  As usual, cmLocalVisualStudio7Generator has to be updated to
>> include yet another check for version
> Can you please provide the patch for that so we can integrate it
> upstream?
>
> Thanks,
> -Brad
>



More information about the CMake mailing list