> -----Original Message-----
> From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
> Sent: 17. desember 2008 21:14
> To: Landet, Tormod Ravnanger
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Problems with Intel Fortran 11 on Windows XP
> 

> > For the list and search engines: to make CMake 2.6.2 work 
> with Intel 
> > Fortran 11 and the Visual Studio 2008 generator, CMake has 
> to be patched
> > at the moment. The problem is that the generated .vfproj 
> files are not
> > compatible with the Intel Fortran v. 11 integration with 
> Visual Studio.
> > 
> 
> OK, but we can't just apply the patch to CMake as it would break the 
> older version of Fortran.   Is there a way to detect which version is 
> installed from the registry or something?  I am glad you are working, 
> but to get a solution for everyone, we need to go the extra mile and 
> some how automatically put the correct version in the file 
> and not break 
> older versions of Fortran.

Yes, I understand, but I assume you can fix this in a future version?

As for detecting the version of Fortran, you can look at this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Compilers\Fortran\110.066]
"Revision"=dword:00000042
"Minor Version"=dword:00000000
"Major Version"=dword:0000000b

The only problem is the "110.066" part in the address, but as this is
the only "folder" under
HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Compilers\Fortran
i guess it is doable to detect the compiler version (b is of course hex
for 11).

Tormod

**************************************************************************************The
 contents of this e-mail message and any attachments are confidential and are 
intended solely for the addressee. If you have received this transmission in 
error, please immediately notify the sender by return e-mail and delete this 
message and its attachments. Any unauthorized use, copying or dissemination of 
this transmission is prohibited. Neither the confidentiality nor the integrity 
of this message can be vouched for following transmission on the 
Internet.**************************************************************************************


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to