mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
16 lines
278 B
ReStructuredText
16 lines
278 B
ReStructuredText
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)
|
|
# ...
|