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

2013-04-18 Thread Lloyd
> set_source_files_properties(${HEADERS_MOC} PROPERTIES GENERATED TRUE) > 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

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

2013-04-18 Thread Thomas Richard
unning the GUI from the explorer on WIN32         # doesn't have effect on linux         #         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 Apri

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

2013-04-18 Thread Lloyd
window when running > the GUI from the explorer on WIN32 > # doesn't have effect on linux > # > set_target_properties(FelixParamGui PROPERTIES WIN32_EXECUTABLE > ${FELIXPARAMGUI_WIN32EXE}) > endif() > > From: cmake-boun...@cmake.org [mailto:cmake-bo

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

2013-04-18 Thread Thomas Richard
n running the GUI from the explorer on WIN32 # doesn't have effect on linux # 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:

[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 r