diff options
Diffstat (limited to 'examples/qml/referenceexamples/grouped/CMakeLists.txt')
-rw-r--r-- | examples/qml/referenceexamples/grouped/CMakeLists.txt | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/examples/qml/referenceexamples/grouped/CMakeLists.txt b/examples/qml/referenceexamples/grouped/CMakeLists.txt deleted file mode 100644 index b1c7587b58..0000000000 --- a/examples/qml/referenceexamples/grouped/CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright (C) 2022 The Qt Company Ltd. -# SPDX-License-Identifier: BSD-3-Clause - -cmake_minimum_required(VERSION 3.16) -project(grouped LANGUAGES CXX) - -set(CMAKE_AUTOMOC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/grouped") - -find_package(Qt6 REQUIRED COMPONENTS Core Gui Qml) - -qt_add_executable(grouped - birthdayparty.cpp birthdayparty.h - main.cpp - person.cpp person.h -) - -set_target_properties(grouped PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) - -target_link_libraries(grouped PUBLIC - Qt::Core - Qt::Gui - Qt::Qml -) - -qt_add_qml_module(grouped - URI People - QML_FILES example.qml - NO_RESOURCE_TARGET_PATH -) - -install(TARGETS grouped - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) |