• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_AUTOMOC_RELAXED_MODE
2--------------------------
3
4.. deprecated:: 3.15
5
6Switch between strict and relaxed automoc mode.
7
8By default, :prop_tgt:`AUTOMOC` behaves exactly as described in the
9documentation of the :prop_tgt:`AUTOMOC` target property.  When set to
10``TRUE``, it accepts more input and tries to find the correct input file for
11``moc`` even if it differs from the documented behavior.  In this mode it
12e.g.  also checks whether a header file is intended to be processed by moc
13when a ``"foo.moc"`` file has been included.
14
15Relaxed mode has to be enabled for KDE4 compatibility.
16