summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf/SKIP_AUTOMOC.rst
blob: a9294489a9af6ee9e38df81d9bbf9827c3cefcb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SKIP_AUTOMOC
------------

Exclude the source file from :prop_tgt:`AUTOMOC` processing (for Qt projects).

For broader exclusion control see :prop_sf:`SKIP_AUTOGEN`.

EXAMPLE
^^^^^^^

.. code-block:: cmake

  # ...
  set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON)
  # ...