summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-11-29 13:32:25 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2024-03-25 11:09:41 +0100
commit6e3b08ecb3161008faf1ce33d5ef8851b3685145 (patch)
tree43f3f457eb16a15d2e87bf746cf5d22e1749c7f8
parent9746a55be9c00d6d968958cf7f7ff20e6f82b210 (diff)
Use NO_GENERATE_CPP_EXPORTS explicitly
Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need the autogenerated exports header file. Task-number: QTBUG-90492 Change-Id: Ib419fa559da8ff7f0368db5966a79f743dcfc45a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
-rw-r--r--src/assistant/help/CMakeLists.txt1
-rw-r--r--src/designer/src/components/lib/CMakeLists.txt1
-rw-r--r--src/designer/src/lib/CMakeLists.txt1
-rw-r--r--src/global/CMakeLists.txt1
-rw-r--r--src/linguist/CMakeLists.txt1
-rw-r--r--src/qdoc/catch_conversions/CMakeLists.txt1
-rw-r--r--src/qdoc/catch_generators/CMakeLists.txt1
-rw-r--r--src/uiplugin/CMakeLists.txt1
-rw-r--r--src/uitools/CMakeLists.txt1
9 files changed, 9 insertions, 0 deletions
diff --git a/src/assistant/help/CMakeLists.txt b/src/assistant/help/CMakeLists.txt
index cd88f4234..45c4c192e 100644
--- a/src/assistant/help/CMakeLists.txt
+++ b/src/assistant/help/CMakeLists.txt
@@ -41,6 +41,7 @@ qt_internal_add_module(Help
Qt::Widgets
ENABLE_AUTOGEN_TOOLS
uic
+ NO_GENERATE_CPP_EXPORTS
)
# Resources:
diff --git a/src/designer/src/components/lib/CMakeLists.txt b/src/designer/src/components/lib/CMakeLists.txt
index c4ebae39c..1d08b785f 100644
--- a/src/designer/src/components/lib/CMakeLists.txt
+++ b/src/designer/src/components/lib/CMakeLists.txt
@@ -129,6 +129,7 @@ qt_internal_add_module(DesignerComponentsPrivate
uic
PRECOMPILED_HEADER
"lib_pch.h"
+ NO_GENERATE_CPP_EXPORTS
)
set(ui_sources
diff --git a/src/designer/src/lib/CMakeLists.txt b/src/designer/src/lib/CMakeLists.txt
index 6e335cad1..661e5a995 100644
--- a/src/designer/src/lib/CMakeLists.txt
+++ b/src/designer/src/lib/CMakeLists.txt
@@ -188,6 +188,7 @@ qt_internal_add_module(Designer
uic
PRECOMPILED_HEADER
"lib_pch.h"
+ NO_GENERATE_CPP_EXPORTS
)
set(ui_sources
diff --git a/src/global/CMakeLists.txt b/src/global/CMakeLists.txt
index 4be0d49c8..b540d974c 100644
--- a/src/global/CMakeLists.txt
+++ b/src/global/CMakeLists.txt
@@ -13,4 +13,5 @@ qt_internal_add_module(Tools
# special case end
MODULE_INTERFACE_NAME Tools # Specify the 'Tools' name explicitly to avoid warning
# related to the expected name of internal module.
+ NO_GENERATE_CPP_EXPORTS
)
diff --git a/src/linguist/CMakeLists.txt b/src/linguist/CMakeLists.txt
index ab2169dec..ef28c0ff3 100644
--- a/src/linguist/CMakeLists.txt
+++ b/src/linguist/CMakeLists.txt
@@ -23,4 +23,5 @@ qt_internal_add_module(Linguist
HEADER_MODULE
NO_MODULE_HEADERS
NO_PRIVATE_MODULE
+ NO_GENERATE_CPP_EXPORTS
)
diff --git a/src/qdoc/catch_conversions/CMakeLists.txt b/src/qdoc/catch_conversions/CMakeLists.txt
index e985e9462..48ddcc26f 100644
--- a/src/qdoc/catch_conversions/CMakeLists.txt
+++ b/src/qdoc/catch_conversions/CMakeLists.txt
@@ -2,6 +2,7 @@ qt_internal_add_module(QDocCatchConversionsPrivate
INTERNAL_MODULE
HEADER_MODULE
EXTERNAL_HEADERS_DIR src
+ NO_GENERATE_CPP_EXPORTS
)
qt_internal_extend_target(QDocCatchConversionsPrivate
diff --git a/src/qdoc/catch_generators/CMakeLists.txt b/src/qdoc/catch_generators/CMakeLists.txt
index c46a5c21e..18f2e6928 100644
--- a/src/qdoc/catch_generators/CMakeLists.txt
+++ b/src/qdoc/catch_generators/CMakeLists.txt
@@ -2,6 +2,7 @@ qt_internal_add_module(QDocCatchGeneratorsPrivate
INTERNAL_MODULE
HEADER_MODULE
EXTERNAL_HEADERS_DIR src
+ NO_GENERATE_CPP_EXPORTS
)
qt_internal_extend_target(QDocCatchGeneratorsPrivate
diff --git a/src/uiplugin/CMakeLists.txt b/src/uiplugin/CMakeLists.txt
index 523daf5cc..c0193dc3c 100644
--- a/src/uiplugin/CMakeLists.txt
+++ b/src/uiplugin/CMakeLists.txt
@@ -16,6 +16,7 @@ qt_internal_add_module(UiPlugin
Qt::Core
Qt::Gui
Qt::Widgets
+ NO_GENERATE_CPP_EXPORTS
)
set(is_plugin "$<TARGET_PROPERTY:QT_PLUGIN_CLASS_NAME>")
diff --git a/src/uitools/CMakeLists.txt b/src/uitools/CMakeLists.txt
index 886518f01..2da290bda 100644
--- a/src/uitools/CMakeLists.txt
+++ b/src/uitools/CMakeLists.txt
@@ -29,6 +29,7 @@ qt_internal_add_module(UiTools
Qt::Core
Qt::Gui
Qt::Widgets
+ NO_GENERATE_CPP_EXPORTS
)
## Scopes: