[CMake] Testing Intel Fortran 12 with cmake in "next" git
Bill Hoffman
bill.hoffman at kitware.com
Fri Sep 30 12:11:11 EDT 2011
On 9/30/2011 10:56 AM, Bill Hoffman wrote:
>
> Can you send me two things (off the list, do not cc cmake at cmake.org).
>
> Send me the files: CMAKE_TRY_COMPILE.sln cmTryCompileExec.vfproj
>
> Then use your VS IDE to create a simple fortran project that does work
> for you. Then send me that .sln and .vfproj file. You do have the IDE
> integration for Fortran installed right?
>
> -Bill
>
OK, thanks for sending the files. I found the problem.
std::string vskey = gg->GetRegistryBase();
vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
cmSystemTools::KeyWOW64_32);
if (intelVersion == "12.0")
{
// Version 12 actually uses 11.0 in project files!
intelVersion = "11.0" ;
}
Your version is 12.1 of intel, and it still wants the file to be called
11.0.
We will have to change CMake for this. Thanks for the report.
-Bill
More information about the CMake
mailing list