summaryrefslogtreecommitdiff
path: root/share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-02-28 16:39:50 -0800
committerHaibo Huang <hhb@google.com>2020-02-29 16:44:49 +0000
commit241d398b85ef7f34bdb14edfbfc54c2c02001314 (patch)
tree3a7c913b50335f39333ccb83f2c474c3ee41a59a /share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst
parent0462c2d1927fb299d29010aee3e24c31fec67033 (diff)
downloadwindows-x86-241d398b85ef7f34bdb14edfbfc54c2c02001314.tar.gz
Upgrade cmake to 3.16 for Windows
Built at http://fusion-qa/45ddb4ea-eb41-419a-915f-26986114d64c One difference here is that ninja and android.toolchain.cmake are not included. Users should sync from prebuilts/ninja or external/android-cmake directly. Bug: 149782024 Change-Id: Iba02ef905d29ed1b829e097569b94cae7ca64431
Diffstat (limited to 'share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst')
-rw-r--r--share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst b/share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst
new file mode 100644
index 0000000..3f613b9
--- /dev/null
+++ b/share/cmake-3.16/Help/prop_tgt/AUTOUIC_OPTIONS.rst
@@ -0,0 +1,34 @@
+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.
+
+By default it is empty.
+
+This property is initialized by the value of the
+:variable:`CMAKE_AUTOUIC_OPTIONS` variable if it is set when a target is
+created.
+
+The options set on the target may be overridden by :prop_sf:`AUTOUIC_OPTIONS`
+set on the ``.ui`` source file.
+
+This property may use "generator expressions" with the syntax ``$<...>``.
+See the :manual:`cmake-generator-expressions(7)` manual for available
+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")
+ # ...