[CMake] can I make an AUTOMOC generated file depend on something ?

Stephen Kelly steveire at gmail.com
Wed Feb 25 16:45:09 EST 2015


Kim Rydhof Thor Hansen wrote:

> http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTOGEN_TARGET_DEPENDS.html
> 
> I have a similar problem because automoc doesn't pick up that my
> metadata.json file is a dependency to the generated moc_plugin.cpp
> when building a Qt plugin

Thanks for the testcase. I filed 

 http://public.kitware.com/Bug/view.php?id=15419

with more information on what should be done to fix this.

Thanks,

Steve.




More information about the CMake mailing list