[CMake] looking for Visual Studio installation
Andreas Pakulat
apaku at gmx.de
Sun Apr 19 04:05:54 EDT 2009
On 19.04.09 00:55:12, Piotr Dobrogost wrote:
> 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.
Why do you think this is fragile? Its AFAIK the documented way (documented
by MS) to use the Visual Studio command line tools, so shouldn't be a
surprise to have to run cmake inside that environment (as cmake wants to
use the commandline tools from VS).
CMake expects compiler, linker, (n)make and Co to be available in the
environment from which you run cmake on _every_ platform it works on.
Andreas
--
A vivid and creative mind characterizes you.
More information about the CMake
mailing list