mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
Merge topic 'autogen_json'
29d96633Autogen: Don't use .moc include in Q_PLUGIN_METADATA testd60f1ddcAutogen: Documentation updatecdb72127Autogen: Add release notes for Q_PLUGIN_METADATA support8b13a52cAutogen: Tests: Set different compression levels in rcc test9d1db7d7Autogen: Overhaul and simplify AutogenInfo.cmake file generation0ab817faAutogen: Optimize GetCompileDefinitionsAndDirectories function754d4318Autogen: Sort AutogenInfo.cmake.incd74daf0Autogen: Tests: Add Q_PLUGIN_METADATA test39c4819eAutogen: Tests: Add moc include tests50805693Autogen: Tests: Clean commentsc23206b6Autogen: Log simplifications347572cfAutogen: Only touch an unchanged moc_compilation.cpp03df033bAutogen: Rebuild moc when Q_PLUGIN_METADATA json file changes3ec230deAutogen: Use GetRealPath in central places only41fb64e7Autogen: Search moc includes in include directories175c8900Autogen: Sort includes before composing include options ...
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user