diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-10-09 12:31:00 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-10-09 12:36:48 (GMT) |
commit | 814cddbe18d09862bfab8eb7a98682874b94e9be (patch) | |
tree | 8d7be059c0c9135c7702ba570f86536fb54052c9 /Help/variable | |
parent | 1c19626864d8622ac3a0f00b564ea1d7f0eb3971 (diff) | |
download | CMake-814cddbe18d09862bfab8eb7a98682874b94e9be.zip CMake-814cddbe18d09862bfab8eb7a98682874b94e9be.tar.gz CMake-814cddbe18d09862bfab8eb7a98682874b94e9be.tar.bz2 |
Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONS
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_AUTORCC_OPTIONS.rst | 11 | ||||
-rw-r--r-- | Help/variable/CMAKE_AUTOUIC_OPTIONS.rst | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_AUTORCC_OPTIONS.rst b/Help/variable/CMAKE_AUTORCC_OPTIONS.rst index 298cb6b..815d39d 100644 --- a/Help/variable/CMAKE_AUTORCC_OPTIONS.rst +++ b/Help/variable/CMAKE_AUTORCC_OPTIONS.rst @@ -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") + # ... diff --git a/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst b/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst index 3c9b8c4..28fa92f 100644 --- a/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst +++ b/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst @@ -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") + # ... |