SKIP_AUTOGEN.rst 374 Bytes
Newer Older
1 2 3 4 5 6
SKIP_AUTOGEN
------------

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

7 8 9 10 11 12 13 14 15 16 17
For finer exclusion control see :prop_sf:`SKIP_AUTOMOC`,
:prop_sf:`SKIP_AUTOUIC` and :prop_sf:`SKIP_AUTORCC`.

EXAMPLE
^^^^^^^

.. code-block:: cmake

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