summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
blob: 8858410154a77cfc5e64bea9ab74b7277357a0e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.