I'm trying to get my dlls and exes to output in a speicfic directory, regardless of build type.
I should be able to do this using: set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin ) I still end up with (top dirs)/bin/Debug/myapp.exe (top dirs)/bin/Release/myapp.exe According to these tickets: http://www.vtk.org/Bug/view.php?id=10276 http://www.vtk.org/Bug/view.php?id=9163 It should work, as 9163 went into the master for cmake 2.8.1.RC1. I'm using 2.8.3. I had the same behavior for 2.8.2. VS2008 will work if I use the 'prefix hack'. This does not work under VS2010 though. set_target_properties(myApp PROPERTIES PREFIX "../" RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin) Am I confused? What's the correct way to make this work? Was it fixed and then broke again? Thanks, Aaron
_______________________________________________ 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