CMAKE_AUTOMOC_RELAXED_MODE.rst 571 B

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