qt6-bb10/tests/auto/cmake
Sami Shalayel 26f0eaba52 do not override initial AUTOMOC_MACRO_NAMES value
The CMake documentation states that the AUTOMOC_MACRO_NAMES property of
a target is initially set to CMAKE_AUTOMOC_MACRO_NAMES, so do not
override it in qt_enable_autogen_tool.
Instead, append the extra macro names not set by the upstream CMake
CMAKE_AUTOMOC_MACRO_NAMES variable.

Add a test for this.

Change-Id: Ib0ef28e7fc9c5f9559150bbe73ffdeac767adc82
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-11-28 19:59:49 +01:00
..
mockplugins CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test(needsquoting)dirname
test_QFINDTESTDATA
test_QTBUG-63422
test_QT_TESTCASE_BUILDDIR
test_add_big_resource
test_add_binary_resources_delayed_file
test_add_resource_options
test_add_resource_prefix Make the `PREFIX` Parameter of the `qt_add_resources` Optional 2022-10-25 16:39:25 +02:00
test_add_resources_big_resources
test_add_resources_binary_generated
test_add_resources_delayed_file
test_android_multi_abi_forward_vars Add forwarding of CMake variables to ABI-specific external projects 2022-12-08 23:24:22 +01:00
test_build_simple_widget_app
test_concurrent_module
test_config_expressions CMake: Fix config condition evaluator 2023-09-21 21:46:46 +02:00
test_dbus_module
test_dependent_modules
test_egl_lib
test_generating_cpp_exports CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test_global_promotion
test_import_plugins
test_interface
test_interface_link_libraries
test_json_plugin_includes
test_moc_macro_target do not override initial AUTOMOC_MACRO_NAMES value 2023-11-28 19:59:49 +01:00
test_multiple_find_package
test_opengl_lib
test_platform_defs_include
test_plugin_shared_static_flavor
test_plugins
test_private_includes
test_private_targets
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
test_qtmainwin_library
test_resource_without_obj_lib CMake: Place resources into static libraries, not object libraries 2023-08-14 14:05:32 +02:00
test_static_resources CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test_testlib_definitions
test_testlib_no_link_gui
test_testlib_no_link_widgets
test_umbrella_config
test_versionless_targets
test_widgets_app_deployment Slow Deprecation of FILENAME_VARIABLE, replacement by OUTPUT_SCRIPT 2023-01-05 21:56:21 +01:00
test_wrap_cpp_and_resources
test_wrap_cpp_options
tst_qaddpreroutine Fix for CMake tests when build with unity 2023-03-14 17:28:43 +01:00
CMakeLists.txt CMake: Add autotest for the config condition evaluator 2023-09-21 17:00:22 +02:00
test_plugin_shared_static_flavor.cmake