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

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf
Of Philip Lowman
Sent: Monday, February 02, 2009 9:36 PM
To: LaViolette, Alan
Cc: Tyler; [email protected]
Subject: Re: [CMake] How To change VS2005 Output directory

 

On Mon, Feb 2, 2009 at 7:13 PM, LaViolette, Alan
<[email protected]> 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/[email protected]/msg14083.html



-- 
Philip Lowman

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to