qt5base-lts/tests/auto/cmake
Alexey Edelev e1fe816d46 Implement generating of private cpp exports
Add the generating of private cpp exports for Qt modules.

Add the GENERATE_PRIVATE_CPP_EXPORTS option to qt_internal_add_module
that is the manual switch for private exports generator. Existing
modules in qtbase doesn't follow any strict convention of using
private cpp export. So there is no clue how to detect if generating of
the private exports is required or not for the module.

Use autogenerated private cpp exports in QtNetwork module.

CPP_EXPORT_HEADER_NAME argument of the qt_internal_add_module function
is replaced by the CPP_EXPORT_HEADER_BASE_NAME and has a different
meaning. The provided name is used as a base name for the private and
non-private headers that contains cpp exports. Header files suffixes
are constant: .h and _p.h for the non-private and private header files
accordingly.

Pick-to: 6.2
Task-number: QTBUG-90492
Change-Id: Icf11304e00379fb8521a865965c19b974e01e62f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-08-27 11:01:47 +02:00
..
mockplugins CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
test_add_big_resource Support multiple equally named .qrc files in qt_add_big_resources 2021-05-22 22:32:27 +02:00
test_add_binary_resources_delayed_file CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_add_resource_options Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_add_resources_binary_generated CMake: Change generated resources naming 2020-11-24 21:51:29 +01:00
test_add_resources_delayed_file CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_build_simple_widget_app CMake: Build a subset of tests when targeting iOS in the CI 2021-08-26 16:40:15 +02:00
test_concurrent_module CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_dbus_module Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_dependent_modules Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_egl_lib CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_generating_cpp_exports Implement generating of private cpp exports 2021-08-27 11:01:47 +02:00
test_global_promotion CMake: Allow promoting the Qt libraries to be global targets 2021-06-16 13:22:17 +02:00
test_import_plugins CMake: Remove qt6_enable_object_libraries_finalizer_mode 2021-08-10 16:51:53 +02:00
test_interface CMake: Build minimal subset of tests in desktop static builds 2021-04-06 09:15:37 +01:00
test_interface_link_libraries Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_json_plugin_includes Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_moc_macro_target Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_multiple_find_package CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_opengl_lib CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_platform_defs_include CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_plugin_shared_static_flavor CMake: Choose better defaults for qt_add_plugin STATIC/SHARED 2021-04-07 10:10:55 +02:00
test_plugins CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_private_includes CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_private_targets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_QFINDTESTDATA Specify QT_TESTCASE_BUILDDIR for Qt::Test users implicitly 2021-04-08 13:16:41 +02:00
test_QT_TESTCASE_BUILDDIR Specify QT_TESTCASE_BUILDDIR for Qt::Test users implicitly 2021-04-08 13:16:41 +02:00
test_QTBUG-63422 Use target_link_options to propagate object libraries 2021-07-02 15:17:06 +02:00
test_qtmainwin_library Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_static_resources CMake: Remove qt6_enable_object_libraries_finalizer_mode 2021-08-10 16:51:53 +02:00
test_testlib_definitions Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
test_testlib_no_link_gui CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_testlib_no_link_widgets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_umbrella_config CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_versionless_targets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_wrap_cpp_and_resources Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_wrap_cpp_options Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test(needsquoting)dirname Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
tst_qaddpreroutine CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
CMakeLists.txt CMake: Build a subset of tests when targeting iOS in the CI 2021-08-26 16:40:15 +02:00
test_plugin_shared_static_flavor.cmake CMake: Choose better defaults for qt_add_plugin STATIC/SHARED 2021-04-07 10:10:55 +02:00