mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONS
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
CMAKE_AUTORCC_OPTIONS
|
||||
---------------------
|
||||
|
||||
Whether to handle ``rcc`` automatically for Qt targets.
|
||||
Additional options for ``rcc`` when using :variable:`CMAKE_AUTORCC`.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`AUTORCC_OPTIONS` property on
|
||||
all the targets. See that target property for additional information.
|
||||
|
||||
EXAMPLE
|
||||
^^^^^^^
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
# ...
|
||||
set(CMAKE_AUTORCC_OPTIONS "--compress;9")
|
||||
# ...
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
CMAKE_AUTOUIC_OPTIONS
|
||||
---------------------
|
||||
|
||||
Whether to handle ``uic`` automatically for Qt targets.
|
||||
Additional options for ``uic`` when using :variable:`CMAKE_AUTOUIC`.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`AUTOUIC_OPTIONS` property on
|
||||
all the targets. See that target property for additional information.
|
||||
|
||||
EXAMPLE
|
||||
^^^^^^^
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
# ...
|
||||
set_property(CMAKE_AUTOUIC_OPTIONS "--no-protection")
|
||||
# ...
|
||||
|
||||
Reference in New Issue
Block a user