mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
c36910476a
At least the top-reference links. Internal `:ref:` usages have been left intact.
23 lines
498 B
ReStructuredText
23 lines
498 B
ReStructuredText
SKIP_AUTOUIC
|
|
------------
|
|
|
|
.. versionadded:: 3.8
|
|
|
|
Exclude the source file from :prop_tgt:`AUTOUIC` processing (for Qt projects).
|
|
|
|
``SKIP_AUTOUIC`` can be set on C++ header and source files and on
|
|
``.ui`` files.
|
|
|
|
For broader exclusion control see :prop_sf:`SKIP_AUTOGEN`.
|
|
|
|
EXAMPLE
|
|
^^^^^^^
|
|
|
|
.. code-block:: cmake
|
|
|
|
# ...
|
|
set_property(SOURCE file.h PROPERTY SKIP_AUTOUIC ON)
|
|
set_property(SOURCE file.cpp PROPERTY SKIP_AUTOUIC ON)
|
|
set_property(SOURCE widget.ui PROPERTY SKIP_AUTOUIC ON)
|
|
# ...
|