qt5/cmake
Joerg Bornemann 8a94d1e294 CMake: Rework inter-repository dependency resolution
In certain cases the dependency resolution between Qt repositories
resulted in a wrong order, for example qtsvg being handled before
qtbase.  See the linked task for an example.

Replace the existing algorithm with a post-order traversal of the
dependency graph to produce a topological ordering.

Rename qt_internal_add_module_dependencies to
qt_internal_resolve_module_dependencies and remove unnecessary
positional arguments.  Use keyword arguments for a nicer API.

Raise the cmake_policy in QtSynchronizeRepo.cmake to avoid policy
warnings we now would get due to the use of IN_LIST.

Fixes: QTBUG-98268
Change-Id: I1425fd9c802fa71ae42549ceb14bcfc4c0a62078
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-01-31 11:10:40 +01:00
..
ECMOptionalAddSubdirectory.cmake Start the CMake superbuild 2020-03-18 21:26:20 +01:00
QtSynchronizeRepo.cmake CMake: Rework inter-repository dependency resolution 2022-01-31 11:10:40 +01:00
QtTopLevelHelpers.cmake CMake: Rework inter-repository dependency resolution 2022-01-31 11:10:40 +01:00