diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-11-28 15:00:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-10 13:03:24 (GMT) |
commit | cd32886b2f5c8f6bdcc9185274a934102c821a20 (patch) | |
tree | c9126c0e11fb091ce504039a13d32bded1fc6466 /Help/prop_tgt/AUTOUIC_EXECUTABLE.rst | |
parent | 9045f6a30fc8ce21d2b2298c27ba1da41c23bbf3 (diff) | |
download | CMake-cd32886b2f5c8f6bdcc9185274a934102c821a20.zip CMake-cd32886b2f5c8f6bdcc9185274a934102c821a20.tar.gz CMake-cd32886b2f5c8f6bdcc9185274a934102c821a20.tar.bz2 |
Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target properties
Allow to force moc/rcc/uic compiler used for AUTO(MOC|RCC|UIC).
Setting these properties is only necessary if you are going to do
strange things like build these tools as part of your own build system.
Setting these properties will also prevent cmake from testing the
binary: It is user-provided and assumed to be valid.
Diffstat (limited to 'Help/prop_tgt/AUTOUIC_EXECUTABLE.rst')
-rw-r--r-- | Help/prop_tgt/AUTOUIC_EXECUTABLE.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTOUIC_EXECUTABLE.rst b/Help/prop_tgt/AUTOUIC_EXECUTABLE.rst new file mode 100644 index 0000000..03bd554 --- /dev/null +++ b/Help/prop_tgt/AUTOUIC_EXECUTABLE.rst @@ -0,0 +1,15 @@ +AUTOUIC_EXECUTABLE +------------------ + +:prop_tgt:`AUTOUIC_EXECUTABLE` is file path pointing to the ``uic`` +executable to use for :prop_tgt:`AUTOUIC` enabled files. Setting +this property will make CMake skip the automatic detection of the +``uic`` binary as well as the sanity-tests normally run to ensure +that the binary is available and working as expected. + +Usually this property does not need to be set. Only consider this +property if auto-detection of ``uic`` can not work -- e.g. because +you are building the ``uic`` binary as part of your project. + +See the :manual:`cmake-qt(7)` manual for more information on using CMake +with Qt. |