[CMake] How To change VS2005 Output directory

David.Karr at L-3COM.COM David.Karr at L-3COM.COM
Tue Feb 3 18:34:24 EST 2009


From: "LaViolette, Alan" <ALAVIOLETTE at overwatch.textron.com>
>
> thanks that works.  It is kind of a hack would be nice if the
generator
> had an option to not append the configuration.

>> It sounds like you need the PREFIX hack.  Not sure if it will make
the
>> "Win32_Debug" folder for you though, you'll have to try it and see.
>> 
>> http://www.mail-archive.com/cmake@cmake.org/msg14083.html


This also appears to be related to issue number 8243 in the CMake
bugtracking database: "Users cannot adequately control where Visual
Studio writes its output files."

http://public.kitware.com/Bug/view.php?id=8243

This applies to every version of Visual Studio later than VS6.0,
including VS2005.

It's nice to know that there is at least some kind of workaround for
this particular aspect of the problem.

David Karr



More information about the CMake mailing list