I want to copy QtCore4.dll and QtGui4.dll to my Install / dir as a step after assembly.
In CMake, QT4 defines variables like $ {QT_DOC_DIR}, but not $ {QT_BIN_DIR}. So what I ended up doing:
add_custom_command( TARGET blahblah COMMAND ${CMAKE_COMMAND} -E copy ${QT_DOC_DIR}/../bin/QtCore4.dll ${INSTDIR} )
Ugly and probably only works on Windows.
Is there a variable that I don't know about? Or should I do completely differently?
Thanks!
source share