mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
23 lines
505 B
ReStructuredText
23 lines
505 B
ReStructuredText
SKIP_AUTOUIC
|
|
------------
|
|
|
|
.. versionadded:: 3.8
|
|
|
|
Exclude the source file from :prop_tgt:`AUTOUIC` processing (for Qt projects).
|
|
|
|
:prop_sf:`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)
|
|
# ...
|