summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: da54e2f1baa1d51c4753ae127508473a7b2e2813 (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
49
50
51
52
53
54
55
56
57

qt_feature_evaluate_features("${CMAKE_CURRENT_SOURCE_DIR}/common-lib/configure.cmake")
qt_feature_evaluate_features("${CMAKE_CURRENT_SOURCE_DIR}/package-lib/configure.cmake")
qt_feature_evaluate_features("${CMAKE_CURRENT_SOURCE_DIR}/window-lib/configure.cmake")

add_subdirectory(3rdparty)
add_subdirectory(common-lib)
add_subdirectory(application-lib)
add_subdirectory(package-lib)

if(QT_FEATURE_installer)
    add_subdirectory(crypto-lib)
endif()

# if(NOT QT_FEATURE_tools_only)
    add_subdirectory(plugin-interfaces)
    add_subdirectory(notification-lib)
    add_subdirectory(monitor-lib)
    add_subdirectory(shared-main-lib)
    add_subdirectory(intent-server-lib)
    add_subdirectory(intent-client-lib)
    add_subdirectory(manager-lib)
    add_subdirectory(window-lib)

    if(TARGET Qt::DBus AND QT_FEATURE_external_dbus_interfaces)
        add_subdirectory(dbus-lib)
    endif()

    add_subdirectory(main-lib)
    add_subdirectory(tools/appman)
    add_subdirectory(tools/testrunner)

    if(TARGET Qt::DBus)
        add_subdirectory(launcher-lib)
    endif()

    # This tool links against everything to extract the Qml type information
    if (QT_FEATURE_installer AND TARGET Qt::DBus)
        add_subdirectory(tools/dumpqmltypes)
    endif()

    if (TARGET Qt::DBus AND QT_FEATURE_multi_process)
        add_subdirectory(tools/launcher-qml)
    endif()
# endif()

if(NOT CMAKE_CROSSCOMPILING OR QT_FEATURE_tools_only)
    if (QT_FEATURE_installer)
        add_subdirectory(tools/packager)
    endif()

    add_subdirectory(tools/uploader)
endif()

if(TARGET Qt::DBus)
    add_subdirectory(tools/controller)
endif()