2012/2/7 Sarnath K - ERS, HCLTech <k_sarn...@hcl.com>: > I just looked at "ActualConfigure()" function. This is the same as the one > mentioned in Stackoverflow URL. > > I think I will just create the correct entries in the registry and allow > "CMAKE" to take the decision. > I won't pass any "-G" at all. > > That's the most portable way as I look at it.
Not my opinion but that's your choice. > "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0;InstallDir]" -- > seems to be the place. > But I really don't understand what is the ";" doing there. > Should I first create a 9.0 entry and then create an "InstallDir" inside it > pointing to the directory where Visual Studio is installed? You should read more about what is the registry, before trying to modify it: http://en.wikipedia.org/wiki/Windows_Registry http://support.microsoft.com/kb/136393 -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake