Autogen: Add release notes for Q_PLUGIN_METADATA support

This commit is contained in:
Sebastian Holtermann
2017-02-19 18:35:40 +01:00
committed by Brad King
parent 8b13a52c49
commit cdb72127dc

View File

@@ -0,0 +1,10 @@
AutoGen json
------------
* When using :prop_tgt:`AUTOMOC`, CMake scans for the presence of the
``Q_PLUGIN_METADATA`` macro and reruns moc when the file from the
macro's ``FILE`` argument changes.
* When :prop_tgt:`AUTOMOC` detects an include statement of the form
``#include "moc_<basename>.cpp"`` the respective header file is searched
for in the :prop_tgt:`INCLUDE_DIRECTORIES` of the target as well.