summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst')
-rw-r--r--Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst b/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
new file mode 100644
index 0000000..8858410
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
@@ -0,0 +1,13 @@
+CMAKE_AUTOMOC_RELAXED_MODE
+--------------------------
+
+Switch between strict and relaxed automoc mode.
+
+By default, automoc behaves exactly as described in the documentation
+of the AUTOMOC target property. When set to TRUE, it accepts more
+input and tries to find the correct input file for moc even if it
+differs from the documented behaviour. In this mode it e.g. also
+checks whether a header file is intended to be processed by moc when a
+"foo.moc" file has been included.
+
+Relaxed mode has to be enabled for KDE4 compatibility.