[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
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY
${CMAKE_SOURCE_DIR}/bin/${CMAKE_PLATFORM})
The problem is The VS2005 generator always appends the configuration
name so I get
if
CMAKE_SOURCE_DIR = x:\
CMAKE_PLATFORM = Win32
X:/bin/Win32/Debug
I would like to have
X:/bin/Win32_Debug
or for plugins
X:/bin/Win32/Debug/Handlers
I would like to have
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY
${CMAKE_SOURCE_DIR}/bin/${CMAKE_PLATFORM}/$(ConfigurationName))
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.
http://www.mail-archive.com/cmake@cmake.org/msg14083.html
--
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