[CMake] building cmake-gui from source...
Dick Munroe
munroe at csworks.com
Mon May 16 04:41:06 EDT 2011
Thanks to the last person who pointed out a bit I missed in the QT
documentation. Once I updated my VS2005 installation all was well.
The reason for all this was that I need Intel Fortran Composer XE 11.x
support for VS 8 2005. Here's the patch that gets it for me:
--- cmake_2.8.4-patches/trunk/Source/cmLocalVisualStudio7Generator.cxx 2011/05/11 19:11:27 9539
+++ cmake_2.8.4-patched/trunk/Source/cmLocalVisualStudio7Generator.cxx 2011/05/15 21:49:26 9551
@@ -1737,18 +1737,22 @@
// Compute the version of the Intel plugin to the VS IDE.
// If the key does not exist then use a default guess.
std::string intelVersion = "9.10";
std::string vskey = gg->GetRegistryBase();
vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
cmSystemTools::KeyWOW64_32);
+ // Version 12 actually uses 11.0 in project files!.
+ if (intelVersion == "12.0")
+ {
+ intelVersion = "11.0" ;
+ }
// 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"
Since I'm not an official supporter of CMake, I'll leave it to the real
supporters to make this official, if appropriate. In the mean time,
this works for me.
Best,
Dick Munroe
More information about the CMake
mailing list