qtdoc/examples/demos/CMakeLists.txt

31 lines
989 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
if(TARGET Qt6::Quick)
qt_internal_add_example(samegame)
qt_internal_add_example(calqlatr)
qt_internal_add_example(clocks)
qt_internal_add_example(tweetsearch)
qt_internal_add_example(maroon)
qt_internal_add_example(stocqt)
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::QuickControls2)
qt_internal_add_example(colorpaletteclient)
qt_internal_add_example(coffee)
if(ANDROID OR IOS)
qt_internal_add_example(hangman)
endif()
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::Network AND TARGET Qt6::QmlXmlListModel)
qt_internal_add_example(rssnews)
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::qsb AND TARGET Qt6::Pdf)
qt_internal_add_example(photosurface)
endif()
if(TARGET Qt6::Widgets)
qt_internal_add_example(documentviewer)
endif()
if(TARGET Qt::Quick AND TARGET Qt::QuickControls2 AND TARGET Qt::Quick3D)
qt_internal_add_example(robotarm)
endif()