summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-25 11:11:27 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-15 20:37:37 +0000
commit3fd72dbf1bf4210fb61087fd9b70b6ac72682ffe (patch)
treebcbecfc6b0adb3edca6d19992683d83e3b254158
parentce7ab499f3fe8fe0a9cb41ee5cca10adb7575ad8 (diff)
Document more arguments of qt_internal_add_tool
Change-Id: Ia89922bb7d8ce327ea864889f5e2132427c58be6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit a63f72d442df201065efbe6868f669a5855aa557) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--cmake/QtToolHelpers.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/QtToolHelpers.cmake b/cmake/QtToolHelpers.cmake
index 25b8e4a58c..e6246ba94a 100644
--- a/cmake/QtToolHelpers.cmake
+++ b/cmake/QtToolHelpers.cmake
@@ -8,9 +8,15 @@
# qt_add_tool(${target_name})
#
# Arguments:
+# EXTRA_CMAKE_FILES
+# List of additional CMake files that will be installed alongside the tool's exported CMake
+# files.
# INSTALL_DIR
# Takes a path, relative to the install prefix, like INSTALL_LIBEXECDIR.
# If this argument is omitted, the default is INSTALL_BINDIR.
+# TOOLS_TARGET
+# Specifies the module this tool belongs to. The module's Qt6${module}Tools.cmake file
+# will then contain targets for this tool.
#
function(qt_internal_add_tool target_name)
qt_tool_target_to_name(name ${target_name})