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 <[email protected]>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 <[email protected]> wrote: > >> 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_OUTPUT_DIRECTORY_RELEASE >> ${BULLET_PHYSICS_SOURCE_DIR}) >> > SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${BULLET_PHYSICS_SOURCE_DIR}) >> > >> > But the generated MSVC projectfiles still add 'Debug', 'Release' to the >> > directory. How can this additional 'Debug' or 'Release' be removed? >> >> Coincidentally this is already implemented and is going to be in 2.8.1. >> >> http://www.cmake.org/Bug/view.php?id=9163 >> >> -Brad >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
