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/prop_sf | |
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/prop_sf')
-rw-r--r-- | Help/prop_sf/AUTORCC_OPTIONS.rst | 13 | ||||
-rw-r--r-- | Help/prop_sf/AUTOUIC_OPTIONS.rst | 19 |
2 files changed, 25 insertions, 7 deletions
diff --git a/Help/prop_sf/AUTORCC_OPTIONS.rst b/Help/prop_sf/AUTORCC_OPTIONS.rst index d9dc4d3..2bec033 100644 --- a/Help/prop_sf/AUTORCC_OPTIONS.rst +++ b/Help/prop_sf/AUTORCC_OPTIONS.rst @@ -9,5 +9,14 @@ optional ``OPTIONS`` argument of the :module:`qt4_add_resources() <FindQt4>` mac By default it is empty. -The options set on the ``.qrc`` source file may override :prop_tgt:`AUTORCC_OPTIONS` set -on the target. +The options set on the ``.qrc`` source file may override +:prop_tgt:`AUTORCC_OPTIONS` set on the target. + +EXAMPLE +^^^^^^^ + +.. code-block:: cmake + + # ... + set_property(SOURCE resources.qrc PROPERTY AUTORCC_OPTIONS "--compress;9") + # ... diff --git a/Help/prop_sf/AUTOUIC_OPTIONS.rst b/Help/prop_sf/AUTOUIC_OPTIONS.rst index bb48da9..e2f47ec 100644 --- a/Help/prop_sf/AUTOUIC_OPTIONS.rst +++ b/Help/prop_sf/AUTOUIC_OPTIONS.rst @@ -4,11 +4,20 @@ AUTOUIC_OPTIONS Additional options for ``uic`` when using :prop_tgt:`AUTOUIC` This property holds additional command line options -which will be used when ``uic`` is executed during the build via :prop_tgt:`AUTOUIC`, -i.e. it is equivalent to the optional ``OPTIONS`` argument of the -:module:`qt4_wrap_ui() <FindQt4>` macro. +which will be used when ``uic`` is executed during the build via +:prop_tgt:`AUTOUIC`, i.e. it is equivalent to the optional ``OPTIONS`` +argument of the :module:`qt4_wrap_ui() <FindQt4>` macro. By default it is empty. -The options set on the ``.ui`` source file may override :prop_tgt:`AUTOUIC_OPTIONS` set -on the target. +The options set on the ``.ui`` source file may override +:prop_tgt:`AUTOUIC_OPTIONS` set on the target. + +EXAMPLE +^^^^^^^ + +.. code-block:: cmake + + # ... + set_property(SOURCE widget.ui PROPERTY AUTOUIC_OPTIONS "--no-protection") + # ... |