Re: [CMake] Copy dlls to release and debug folder

2013-04-19 Thread Lloyd
) target_link_libraries(ParamGui ${QT_LIBRARIES}) From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Lloyd Sent: 18 April 2013 12:40 To: Thomas Richard Cc: CMake ML Subject: Re: [CMake] Copy dlls to release and debug folder I assume that this is the recommended

[CMake] Copy dlls to release and debug folder

2013-04-18 Thread Lloyd
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

Re: [CMake] Copy dlls to release and debug folder

2013-04-18 Thread Thomas Richard
# set_target_properties(FelixParamGui PROPERTIES WIN32_EXECUTABLE ${FELIXPARAMGUI_WIN32EXE}) endif() From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Lloyd Sent: 18 April 2013 11:33 To: CMake ML Subject: [CMake] Copy dlls to release and debug folder Hi, I

Re: [CMake] Copy dlls to release and debug folder

2013-04-18 Thread Lloyd
dlls to release and debug folder 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

Re: [CMake] Copy dlls to release and debug folder

2013-04-18 Thread Thomas Richard
dlls to release and debug folder I assume that this is the recommended approach. I tried to use the script you have provided, the call GetQtDLLs(DEBUG_DLLS RELEASE_DLLS) is not populating any of the variables (DEBUG_DLLS or RELEASE_DLLS) with qt dll names. I am new to cmake, Am I missing