summaryrefslogtreecommitdiffstats
path: root/cmake/QtToolHelpers.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-25 11:11:27 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-02-15 16:08:11 +0100
commita63f72d442df201065efbe6868f669a5855aa557 (patch)
tree0e023f1010a99c364d22e4a40d066d5d9dc92323 /cmake/QtToolHelpers.cmake
parentc1cbfcb38fc3aac01da8d32cb8607fad76210e29 (diff)
Document more arguments of qt_internal_add_tool
Pick-to: 6.1 Change-Id: Ia89922bb7d8ce327ea864889f5e2132427c58be6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'cmake/QtToolHelpers.cmake')
-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})