[CMake] 'AUTOMOC' feature skips sources of executable targets?

Haroogan haroogan at gmail.com
Mon Apr 29 17:46:10 EDT 2013


On 29-Apr-13 23:27, Alexander Neundorf wrote:
> On Monday 29 April 2013, Haroogan wrote:
>> Have a look at my post on StackOverflow
>> <http://stackoverflow.com/questions/16286872/cmake-automoc-feature-skips-so
>> urces-of-executable-targets> for details.
>> <http://stackoverflow.com/questions/16286872/cmake-automoc-feature-skips-so
>> urces-of-executable-targets>
> can you please create a small testcase and post it here, or create an entry on
> http://public.kitware.com/Bug and attach it there ?
>
> It should work.
>
> Alex
>
Just tried a simple test case, involving bare executable, and that 
indeed works. As I said in the real project, this executable links with 
several shared libraries. How can that affect the fact that 'AUTOMOC' 
should be carried out for executable's sources? Nothing else changes, I 
promise. Unfortunately, it would be very cumbersome to create an example 
since we depend on 3rd party framework, which has to be built and 
properly incorporated into the project, and I wouldn't impose such a 
burden on you. What could be the potential problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130429/d7a148e4/attachment.htm>


More information about the CMake mailing list