[CMake] Add dependencies to the automoc/autorcc target?

Yves Frederix yves.frederix+cmake at gmail.com
Tue Jan 17 08:11:09 EST 2017


Works like a charm. Thanks a lot!

Yves

On Tue, Jan 17, 2017 at 1:46 PM, Nils Gladitz <nilsgladitz at gmail.com> wrote:
> On 01/17/2017 12:02 PM, Yves Frederix wrote:
>
>> Hi all,
>>
>> I have a situation in which I would need to define a dependency for
>> the automoc target. Is it possible to do this somehow?
>
>
> https://cmake.org/cmake/help/v3.7/prop_tgt/AUTOGEN_TARGET_DEPENDS.html
>
> The Documentation seems to imply this is AUTOMOC specific but I think (like
> the name implies) that it probably applies to all the AUTOGEN variants.
>
> Nils


More information about the CMake mailing list