[CMake] How To change VS2005 Output directory

LaViolette, Alan ALAVIOLETTE at overwatch.textron.com
Tue Feb 3 17:12:44 EST 2009

thanks that works.  It is kind of a hack would be nice if the generator
had an option to not append the configuration.



From: philiplowman at gmail.com [mailto:philiplowman at gmail.com] On Behalf
Of Philip Lowman
Sent: Monday, February 02, 2009 9:36 PM
To: LaViolette, Alan
Cc: Tyler; cmake at cmake.org
Subject: Re: [CMake] How To change VS2005 Output directory


On Mon, Feb 2, 2009 at 7:13 PM, LaViolette, Alan
<ALAVIOLETTE at overwatch.textron.com> wrote:

I changed the CMAKE_CFG_INTDIR and I don't see any changes in the
project file.

I am setting

The problem is The VS2005 generator always appends the configuration
name so I get
       CMAKE_SOURCE_DIR = x:\
       CMAKE_PLATFORM = Win32


I would like to have


or for plugins


I would like to have


The $(ConfigurationName) is expanded by the IDE to the configuration
like Debug or Release.

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.


Philip Lowman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090203/3c657aed/attachment-0001.htm>

More information about the CMake mailing list