summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-10-09 12:31:00 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-10-09 12:36:48 (GMT)
commit814cddbe18d09862bfab8eb7a98682874b94e9be (patch)
tree8d7be059c0c9135c7702ba570f86536fb54052c9 /Help/prop_tgt
parent1c19626864d8622ac3a0f00b564ea1d7f0eb3971 (diff)
downloadCMake-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_tgt')
-rw-r--r--Help/prop_tgt/AUTORCC_OPTIONS.rst9
-rw-r--r--Help/prop_tgt/AUTOUIC_OPTIONS.rst9
2 files changed, 18 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTORCC_OPTIONS.rst b/Help/prop_tgt/AUTORCC_OPTIONS.rst
index 8a0f632..d6ade5a 100644
--- a/Help/prop_tgt/AUTORCC_OPTIONS.rst
+++ b/Help/prop_tgt/AUTORCC_OPTIONS.rst
@@ -19,3 +19,12 @@ set on the ``.qrc`` source file.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
+
+EXAMPLE
+^^^^^^^
+
+.. code-block:: cmake
+
+ # ...
+ set_property(TARGET tgt PROPERTY AUTORCC_OPTIONS "--compress;9")
+ # ...
diff --git a/Help/prop_tgt/AUTOUIC_OPTIONS.rst b/Help/prop_tgt/AUTOUIC_OPTIONS.rst
index 9fb042e..3f613b9 100644
--- a/Help/prop_tgt/AUTOUIC_OPTIONS.rst
+++ b/Help/prop_tgt/AUTOUIC_OPTIONS.rst
@@ -23,3 +23,12 @@ expressions.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
+
+EXAMPLE
+^^^^^^^
+
+.. code-block:: cmake
+
+ # ...
+ set_property(TARGET tgt PROPERTY AUTOUIC_OPTIONS "--no-protection")
+ # ...