Re: [CMake] Interpretation of RUNTIME_OUTPUT_DIRECTORY in VisualStudio

2009-03-17 Thread Martin Apel
Hi Michael, thanks a lot, this solves the problem. Regards, Martin Michael Jackson wrote: > try the following: > ADD_CUSTOM_TARGET(QtLibs > COMMAND ${CMAKE_COMMAND} -E > copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/libQtCore.so.4 > ${CMAKE_RUNTIME_O

Re: [CMake] Interpretation of RUNTIME_OUTPUT_DIRECTORY in VisualStudio

2009-03-17 Thread Michael Jackson
try the following: ADD_CUSTOM_TARGET(QtLibs COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/libQtCore.so.4 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}...) • CMAKE_CFG_INTDIR: Build time configuration directo

[CMake] Interpretation of RUNTIME_OUTPUT_DIRECTORY in VisualStudio

2009-03-17 Thread Martin Apel
Hi all, I am trying to write CMake rules to copy shared libraries / DLLs to the runtime directory (not "installing"), right besides the binaries generated by my project. In order to do this, I have rules like the following: ADD_CUSTOM_TARGET(QtLibs COMM