[cmake-developers] Specifying a VS installation path explicitly

2015-10-27 Thread Johannes Asal
Hi, I am trying to build a project using CMake and the VS 2010 generator on a buildserver running Jenkins. I want to clear all environment variables on the node to make sure that noone can influence builds by installing new software and thereby accidentally modifying the environment on the

Re: [cmake-developers] Specifying a VS installation path explicitly

2015-10-27 Thread Brad King
On 10/27/2015 10:38 AM, Johannes Asal wrote: > it depends on environment variables as well. Could you point me to > where that logic is implemented in the source code or the CMake modules? Please create a build tree under the environment in question and send me (off list) a .zip file of what

Re: [cmake-developers] Specifying a VS installation path explicitly

2015-10-27 Thread David Cole via cmake-developers
A simple source tree grep for "HKEY" (or even just "HK") will point you to all the places CMake has registry key references in its source code... On Tue, Oct 27, 2015 at 10:38 AM, Johannes Asal wrote: > If it was actually using registry entries only for locating the VS

Re: [cmake-developers] Specifying a VS installation path explicitly

2015-10-27 Thread Johannes Asal
If it was actually using registry entries only for locating the VS installations it would be perfectly fine with me. But my observations indicate that it depends on environment variables as well. Could you point me to where that logic is implemented in the source code or the CMake modules? Mit

Re: [cmake-developers] Specifying a VS installation path explicitly

2015-10-27 Thread Brad King
On 10/27/2015 04:14 AM, Johannes Asal wrote: > How do I tell CMake to use a Visual Studio installed in a specific path? IIRC CMake uses Windows Registry entries to locate VS components. I do not think we have any way to customize this. -Brad -- Powered by www.kitware.com Please keep messages