Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-08 Thread Brad King
Erwin Coumans wrote: Hi, How can we specify the actual directory where the executable ends up in MSVC, without any messing around by adding 'Debug' or Release'? I tried the following lines: SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BULLET_PHYSICS_SOURCE_DIR}) SET(

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-08 Thread Erwin Coumans
No, I just tried CMake 2.8.1 and it still adds 'Debug' and 'Release' directories to the name. Are you sure it has been fixed? Thanks a lot, Erwin On 8 February 2010 05:43, Brad King brad.k...@kitware.com wrote: Erwin Coumans wrote: Hi, How can we specify the actual directory where the

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-08 Thread Erwin Coumans
Excuses, I enabled the wrong setting using 2.8.1 CMAKE_RUNTIME_OUTPUT_DIRECTORY seems to still add 'Debug' and 'Release' but CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG and CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE seems to work fine. Thanks a lot, Erwin On 8 February 2010 10:40, Erwin Coumans

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-08 Thread David Cole
You have to set the target property to set the directories to something of your own choosing. CMake will always use Debug and Release by default for Visual Studio and Xcode, since they are multi-configuration development environments... On Mon, Feb 8, 2010 at 1:40 PM, Erwin Coumans

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-08 Thread Erwin Coumans
I'm not using SET_TARGET_PROPERTIES, SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${BULLET_PHYSICS_SOURCE_DIR}) SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${BULLET_PHYSICS_SOURCE_DIR}) seems to work just fine for all targets with CMake 2.8.1. Thanks, Erwin On 8 February 2010 10:44, David Cole

[CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-07 Thread Erwin Coumans
Hi, How can we specify the actual directory where the executable ends up in MSVC, without any messing around by adding 'Debug' or Release'? I tried the following lines: SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BULLET_PHYSICS_SOURCE_DIR}) SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra 'Debug' or 'Release' ?

2010-02-07 Thread Erwin Coumans
By the way, I had a quick look at the source code in cmLocalVisualStudio7Generator.cxx for case cmTarget::EXECUTABLE: replacing temp = target.GetDirectory(configName); by temp = target.GetDirectory(); seems to do the job of removing additional 'Debug' or 'Release' directories from the