summaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
blob: 8d9a8a2f5cad3de5ba22a8ea15e3698c02f57606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

qt_examples_build_begin(EXTERNAL_BUILD)

if(QT_FEATURE_graphs_3d)
    add_subdirectory(graphs/3d)
endif()

if(QT_FEATURE_graphs_2d)
    add_subdirectory(graphs/2d)
endif()

if(QT_FEATURE_graphs_2d AND QT_FEATURE_graphs_3d AND TARGET Qt6::PrintSupport)
    add_subdirectory(graphs/graphprinting)
endif()

qt_examples_build_end()