Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONS

This commit is contained in:
Sebastian Holtermann
2017-10-09 14:31:00 +02:00
parent 1c19626864
commit 814cddbe18
6 changed files with 63 additions and 9 deletions
+10 -1
View File
@@ -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")
# ...
+10 -1
View File
@@ -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")
# ...