Piotr Dobrogost wrote:
Hi
Recent thread titled "CMAKE_MAKE_PROGRAM is not set." shows cmake needs
some environment variables to find VS command line tools.
Setting of these variables is done by running a bat file that comes with
VS. This seems a little fragile.
Would it be a good idea to make cmake be able to find VS even if these
environment variables weren't set? Maybe using registry or just looking
at default installation folder?
That is by design. Even if CMake did find them, the user would still
need to set them in order to use the command line tools. CMake makes
the simple assumption that the compiler is installed and running in the
environment CMake is running in.
-Bill
_______________________________________________
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