C

Qt Quick Ultralite chess Example

# Copyright (C) 2025 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
cmake_minimum_required(VERSION 3.21.1)

project(chess VERSION 0.0.1 LANGUAGES C CXX ASM)

find_package(QulApp)

if(QUL_PLATFORM MATCHES "autosar")
    qul_add_library(chess)
else()
    qul_add_executable(chess)
endif()

qul_add_qml_module(chess
    URI ChessApp
    QML_FILES chess.qml
)

qul_target_generate_interfaces(chess chessmodel.h)

app_target_setup_os(chess)
app_target_default_entrypoint(chess chess MODULE ChessApp)