Autogen_json.rst 414 B

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