On Fri, Dec 04, 2009 at 09:04:45AM -0600, Brian Davis wrote: > What I would like to see is: > > PathToWherever/Debug/bin > PathToWherever/Debug/lib > PathToWherever/Debug/cfg > ... > > PathToWherever/Release/bin > PathToWherever/Release/lib > PathToWherever/Release/cfg > ... > > PathToWherever/Profile/bin > PathToWherever/Profile/lib > PathToWherever/Profile/cfg > ... > > Is there a clean way to implement this. I cannot figure out a way to use > the PREFIX hack to get the above result as the ../ needs to be at then end > of the path and would merge debug, release, and profile builds into same > dir.
I use the PREFIX hack (as well as the IMPORT_PREFIX hack for import libraries) combined with CMAKE_CFG_INTDIR to do what you want. tyler _______________________________________________ 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
