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 wr
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 wrote:
>
>
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 wrote:
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 wrote:
> Erwin Coumans wrote:
> >
> > Hi,
> >
> > How can we specify the actual directory where the executable e
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( CMAKE_RUNTIME
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 Out
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 ${BULLET_PHYSICS