[CMake] looking for Visual Studio installation

Hendrik Sattler post at hendrik-sattler.de
Sun Apr 19 13:41:05 EDT 2009


Am Sonntag 19 April 2009 14:24:42 schrieb Piotr Dobrogost:
> Andreas Pakulat wrote:
> > On 19.04.09 13:31:22, Piotr Dobrogost wrote:
> >> I get it. But wouldn't it be a GOOD THING to incorporate logic of
> >> vcvarsall.bat into cmake's module looking for VC?
> >
> > That would mean it needs to find that file as first thing, because that
> > file actually uses its own absolute path to set the variables properly.
> > And at that moment you again have a problem when people have multiple VS
> > installations on the same machine.
>
> I guess multiple installations of VS is a very rare case.

I have  VisualStudio .NET 2003, Express 2005 and Express 2008 installed, to 
test some projects against all those compiler versions. Not uncommon, I'd say.

HS



More information about the CMake mailing list