Re: [CMake] ExternalProject_Add + imported targets: no rule to make yourlibrary.so

2016-05-03 Thread Bill Hoffman
On 4/28/2016 4:31 PM, SnakE wrote: set_target_properties(foo PROPERTIES IMPORTED_LOCATION foo.so) https://cmake.org/cmake/help/v3.0/prop_tgt/IMPORTED_LOCATION.html?highlight=imported_location "Full path to the main file on disk for an IMPORTED target." You need to use a full path to foo.so, wo

[CMake] Automatic moc, uic and rcc every build

2016-05-03 Thread Jonas Collberg
Hi, I'm using CMake to create project configuration files for Visual Studio 2015 (generator: "Visual Studio 14 2015 Win64") and Qt Creator (generator: "CodeBlocks - NMake Makefiles"). The biggest remaining problem I have is that every time I build or run a project using the CodeBlocks generator,