https://github.com/Kitware/CMake
Raw File
Tip revision: 1a059d91af07993a02a85f4d6043a8e28742aab0 authored by Brad King on 18 November 2020, 11:34:00 UTC
CMake 3.18.5
Tip revision: 1a059d9
CMAKE_AUTOMOC_RELAXED_MODE.rst
CMAKE_AUTOMOC_RELAXED_MODE
--------------------------

.. deprecated:: 3.15

Switch between strict and relaxed automoc mode.

By default, :prop_tgt:`AUTOMOC` behaves exactly as described in the
documentation of the :prop_tgt:`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.
back to top