[CMake] looking for Visual Studio installation
Hendrik Sattler
post at hendrik-sattler.de
Sun Apr 19 06:47:13 EDT 2009
Am Sonntag 19 April 2009 00:55:12 schrieb Piotr Dobrogost:
> 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.
Hmm, for every VisualStudio (even Express version), you have a menu item in
the start menu to get the right environment. The same is available from within
the VS IDE. The Platform SDK needs some work for the VisualStudio 8 (Express
version only) but a step-by-step manual is available from Microsoft. Since VS
Express 9, this is fully integrated.
So where is this fragile? The downside is that you have to start cmake-gui
from such a shell but that can be solved with a small custom batch file for
each VisualStudio environment.
HS
More information about the CMake
mailing list