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: I3494ac88e136126265e14ef1a380c5ef26def3ef
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-11-29 13:42:17 +01:00
parent e89e8bf73f
commit d5252fff74
2 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,11 @@ configure the module on targets that are missing dependencies.")
endif()
# See global/README for a description of the following module.
qt_internal_add_module(WaylandGlobalPrivate INTERNAL_MODULE HEADER_MODULE)
qt_internal_add_module(WaylandGlobalPrivate
INTERNAL_MODULE
HEADER_MODULE
NO_GENERATE_CPP_EXPORTS
)
# Work around 115101.
# If nothing depends on the WaylandGlobalPrivate target it doesn't run custom commands that the

View File

@ -19,6 +19,7 @@ qt_internal_add_module(WlShellIntegrationPrivate
Wayland::Client
PRIVATE_HEADER_FILTERS
"^qwayland-.*\.h|^wayland-.*-protocol\.h"
NO_GENERATE_CPP_EXPORTS
)
qt6_generate_wayland_protocol_client_sources(WlShellIntegrationPrivate