mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-23 08:26:14 +08:00
Change-Id: I7bd7c8d9f193fdebc9ccd2a04d7b8cfb3ab4963d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
17 lines
631 B
CMake
17 lines
631 B
CMake
# Copyright (C) 2024 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# The script produces the list of qt submodules that are required to build the submodules listed
|
|
# in the QT_BUILD_SUBMODULES variable. The resulting list preserves the required build order.
|
|
# Usage:
|
|
# cmake [-DQT_BUILD_SUBMODULES="<repo;..>"] [-BUILD_<repo>=<TRUE|FALSE>] \
|
|
# -P <path/to>/qt6/cmake/QtSortModuleDependencies.cmake
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/QtTopLevelHelpers.cmake)
|
|
|
|
qt_internal_collect_modules_only(result "${QT_BUILD_SUBMODULES}")
|
|
|
|
list(JOIN result " " result)
|
|
message("${result}")
|