ADD_CUSTOM_COMMAND to copy the modules to
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/modules" should
work...On Fri, Jun 20, 2008 at 10:48 AM, Mike Arthur <[EMAIL PROTECTED]> wrote: > Part 3 in my never-ending quest to replace our Visual-Studio-based build > system with CMake has me tearing my hair out... > > I've set CMAKE_RUNTIME_OUTPUT_DIRECTORY to bin so everything is build > correctly in bin/Debug or bin/Release depending on the project. > > What I'm trying to do now is get something built in bin/Debug/modules or > bin/Release/modules or, if not built there, then at least copied there > later. > > I, however, can't seem to find any way in CMake to allow me to do this. > > Setting CMAKE_RUNTIME_OUTPUT_DIRECTORY to bin/modules just puts the modules > in > bin/modules/Release or bin/modules/Debug. > > Any ideas before I go mad? > > Thanks guys! > > -- > Cheers, > Mike Arthur > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
