Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: Hello Friends, How do I specify the default generator that CMAKE should use when invoked without the ā€œ-Gā€ option? I am on Windows. I saw an old thread on this. But I am not sure if any support was added later on. Is there a REGISTRY

Re: [CMake] Default Generator to use

2012-02-07 Thread Sarnath K - ERS, HCLTech
Cc: cmake@cmake.org Subject: Re: [CMake] Default Generator to use 2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: Hello Friends, How do I specify the default generator that CMAKE should use when invoked without the -G option? I am on Windows. I saw an old thread on this. But I am

Re: [CMake] Default Generator to use

2012-02-07 Thread Sarnath K - ERS, HCLTech
http://stackoverflow.com/questions/6430251/what-is-the-default-generator-for-cmake-in-windows In the stack overflow list, one guy mentions about [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\ Is this the same thing as the AutoConfigure thing that you were mentioning? What should I set

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: Hello Eric, We have a case where 2 teams are working on a common source tree. One team is using Visual Studio 9 2008 and the other Visual Studio 10 Our platform is Windows7 64-bit. We have a tool in our project that gets added as an

Re: [CMake] Default Generator to use

2012-02-07 Thread Sarnath K - ERS, HCLTech
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.

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: http://stackoverflow.com/questions/6430251/what-is-the-default-generator-for-cmake-in-windows In the stack overflow list, one guy mentions about [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\ Is this the same thing as the

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
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.

Re: [CMake] Default Generator to use

2012-02-07 Thread Sarnath K - ERS, HCLTech
on this without any changes. Thanks, Best Regards, Sarnath -Original Message- From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: Tuesday, February 07, 2012 3:08 PM To: Sarnath K - ERS, HCLTech Cc: cmake@cmake.org Subject: Re: [CMake] Default Generator to use 2012/2/7 Sarnath K - ERS

[CMake] Default Generator to use

2012-02-06 Thread Sarnath K - ERS, HCLTech
Hello Friends, How do I specify the default generator that CMAKE should use when invoked without the -G option? I am on Windows. I saw an old thread on this. But I am not sure if any support was added later on. Is there a REGISTRY entry in Windows that we can set to make so that CMAKE can