blob: b47bd318d518b3e82aedca0a85ac37c93bbf915d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(cmake)
# For now, only build a subset of CMake auto tests when QT_BUILD_MINIMAL_STATIC_TEST
# is specified and the build is targeting iOS. QT_BUILD_MINIMAL_STATIC_TEST is used in our CI.
# Regular tests shouldn't be built because the CI will try to run them and fail due to missing
# simulator support.
if(IOS AND QT_BUILD_MINIMAL_STATIC_TESTS)
return()
endif()
if(TARGET Qt::Quick)
add_subdirectory(qml)
add_subdirectory(quick)
endif()
# Limit set of tests to run for static Qt builds.
if(QT_BUILD_MINIMAL_STATIC_TESTS)
return()
endif()
if(TARGET Qt::Quick)
add_subdirectory(quicktest)
endif()
if(TARGET Qt::QuickTest)
add_subdirectory(core)
add_subdirectory(qmlnetwork)
endif()
add_subdirectory(toolsupport)
if(NOT UIKIT AND NOT ANDROID AND NOT QNX) # FIXME: QTBUG-92591 QTBUG-100202
add_subdirectory(qmltest)
endif()
if(TARGET Qt::Quick)
add_subdirectory(particles)
endif()
if(TARGET Qt::QuickWidgets)
add_subdirectory(quickwidgets)
endif()
if(TARGET Qt::QmlDomPrivate AND NOT CMAKE_CROSSCOMPILING)
add_subdirectory(qmldom)
add_subdirectory(qmlls)
endif()
if(TARGET Qt::QuickTemplates2)
add_subdirectory(quickcontrols)
add_subdirectory(quickdialogs)
endif()
|