summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-11-26 09:42:27 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-11-26 13:13:09 +0100
commit7e11ddc930f51dcfee031b92fb944bd1d4511d81 (patch)
tree3e3d0b8e2599d6b4893b7878fdfcb16197d145da /cmake
parent20783c417020dcda5b9e7f2f9263bebbdb2752db (diff)
qt_internal_add_module: Document HEADER_MODULE and STATIC
Task-number: QTBUG-94863 Change-Id: If52ed7e17ea77d8cb6e0255e988feb0b1bd0aa76 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtModuleHelpers.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/QtModuleHelpers.cmake b/cmake/QtModuleHelpers.cmake
index 02300ed43d..98edb19f8c 100644
--- a/cmake/QtModuleHelpers.cmake
+++ b/cmake/QtModuleHelpers.cmake
@@ -61,6 +61,14 @@ endmacro()
# For the SomeInternalModulePrivate target, the MODULE_INTERFACE_NAME will be
# SomeInternalModule
#
+# HEADER_MODULE
+# Creates an interface library instead of following the Qt configuration default. Mutually
+# exclusive with STATIC.
+#
+# STATIC
+# Creates a static library instead of following the Qt configuration default. Mutually
+# exclusive with HEADER_MODULE.
+#
function(qt_internal_add_module target)
qt_internal_get_internal_add_module_keywords(
module_option_args