[CMake] Copy dlls to release and debug folder
Lloyd
lloydkl.tech at gmail.com
Thu Apr 18 06:33:26 EDT 2013
Hi,
I was successful in creating and building a project using CMake on Windows
(Visual Studio). After the build when I try to run the application it
throws an error asking for the dlls of Qt (I know it is a common case in
Windows, usually we do copy the dlls to debug/release folder where the exe
resides). When I searched the mailing list, I have seen an advise to
use "add_custom_command(TARGET
...)". Is this the right approach? Wont it be executed after each build,
thus causing repeated dll copies?
Can you please suggest me the right way?
Thanks,
Lloyd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130418/3472563c/attachment.htm>
More information about the CMake
mailing list