qt6-bb10/tests/auto/cmake
Alexey Edelev 173164cd47 "Simplify" versionless targets
Versionless targets in Qt6 are interface libraries that link the
versioned libraries using the INTERFACE link type. This makes the
linking chain more complicated than it can be. Also we miss some
significant interface properties in the versionless targets comparing
to the versioned targets.

The new approach manually generates the versionless targets, instead
of using CMake exports.

For CMake versions < 3.18 we now create a copy of the versioned
targets. The copy includes all the relevant INTERFACE properties from
the versioned targets and imported locations for all configs.

For CMake versions >= 3.18 we now create the versionless target ALIASes
which should behave give the transparent access to the versioned
targets.

Using the QT_USE_OLD_VERSION_LESS_TARGETS flag you may force the
behavor of the CMake versions <= 3.18

The change is partial workaround for QTBUG-86533.

Task-number: QTBUG-114706
Change-Id: Iafadf6154eb4912df0697648c031fcc1cbde04e0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-03-12 20:27:42 +01:00
..
mockplugins Change license for tests files 2024-02-04 09:56:42 +01:00
test(needsquoting)dirname Change license for tests files 2024-02-04 09:56:42 +01:00
test_QFINDTESTDATA Change license for tests files 2024-02-04 09:56:42 +01:00
test_QTBUG-63422 Change license for tests files 2024-02-04 09:56:42 +01:00
test_QTP0003 Change license for tests files 2024-02-04 09:56:42 +01:00
test_QT_TESTCASE_BUILDDIR Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_big_resource Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_binary_resources_delayed_file Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_resource_options Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_resource_prefix Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_resources_big_resources Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_resources_binary_generated Change license for tests files 2024-02-04 09:56:42 +01:00
test_add_resources_delayed_file Change license for tests files 2024-02-04 09:56:42 +01:00
test_android_multi_abi_forward_vars Change license for tests files 2024-02-04 09:56:42 +01:00
test_build_simple_widget_app Change license for tests files 2024-02-04 09:56:42 +01:00
test_collecting_plugins Add plugins of imported QtModules to the _qt_plugins property 2024-02-06 20:23:18 +01:00
test_concurrent_module Change license for tests files 2024-02-04 09:56:42 +01:00
test_config_expressions CMake: Fix config condition evaluator 2023-09-21 21:46:46 +02:00
test_dbus_module Change license for tests files 2024-02-04 09:56:42 +01:00
test_dependent_modules Change license for tests files 2024-02-04 09:56:42 +01:00
test_egl_lib Change license for tests files 2024-02-04 09:56:42 +01:00
test_generating_cpp_exports Change license for tests files 2024-02-04 09:56:42 +01:00
test_global_promotion Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_import_plugins Change license for tests files 2024-02-04 09:56:42 +01:00
test_interface Change license for tests files 2024-02-04 09:56:42 +01:00
test_interface_link_libraries Change license for tests files 2024-02-04 09:56:42 +01:00
test_json_plugin_includes Change license for tests files 2024-02-04 09:56:42 +01:00
test_moc_macro_target Change license for tests files 2024-02-04 09:56:42 +01:00
test_multiple_find_package Change license for tests files 2024-02-04 09:56:42 +01:00
test_opengl_lib Change license for tests files 2024-02-04 09:56:42 +01:00
test_platform_defs_include Change license for tests files 2024-02-04 09:56:42 +01:00
test_plugin_shared_static_flavor Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_plugins Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_private_includes Change license for tests files 2024-02-04 09:56:42 +01:00
test_private_targets Change license for tests files 2024-02-04 09:56:42 +01:00
test_qt_add_resources_rebuild CMake: Add auto test for qt_add_resources dependency rebuilding 2022-12-02 20:53:01 +01:00
test_qt_extract_metatypes Change license for tests files 2024-02-04 09:56:42 +01:00
test_qt_manual_moc Add the support for custom definitions to the qt_manual_moc function 2024-02-23 20:41:30 +01:00
test_qtmainwin_library Change license for tests files 2024-02-04 09:56:42 +01:00
test_resource_without_obj_lib Change license for tests files 2024-02-04 09:56:42 +01:00
test_standalone_test Change license in test file 2024-02-14 15:23:05 +01:00
test_static_resources Change license for tests files 2024-02-04 09:56:42 +01:00
test_testlib_definitions Change license for tests files 2024-02-04 09:56:42 +01:00
test_testlib_no_link_gui Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_testlib_no_link_widgets Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_umbrella_config Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
test_versionless_targets "Simplify" versionless targets 2024-03-12 20:27:42 +01:00
test_widgets_app_deployment Change license for tests files 2024-02-04 09:56:42 +01:00
test_wrap_cpp_and_resources Change license for tests files 2024-02-04 09:56:42 +01:00
test_wrap_cpp_moc Change license for tests files 2024-02-04 09:56:42 +01:00
test_wrap_cpp_options Change license for tests files 2024-02-04 09:56:42 +01:00
tst_qaddpreroutine Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Add the support for custom definitions to the qt_manual_moc function 2024-02-23 20:41:30 +01:00
test_plugin_shared_static_flavor.cmake Change license for tests files 2024-02-04 09:56:42 +01:00