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

Nils Gladitz nilsgladitz at gmail.com
Tue Jan 17 07:46:26 EST 2017


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