Explorar el Código

Autogen: Add release notes for AUTOMOC_MACRO_NAMES

Sebastian Holtermann hace 8 años
padre
commit
b3d98c6ec2
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      Help/release/dev/autogen-macro-names.rst

+ 12 - 0
Help/release/dev/autogen-macro-names.rst

@@ -0,0 +1,12 @@
+autogen-macro-names
+-------------------
+
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
+  and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
+  processed. The new variable :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to
+  register additional strings (macro names) so search for.
+
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
+  and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
+  processed. The new target property :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to
+  register additional strings (macro names) so search for.