This repository has been archived on 2026-01-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-01-03 16:20:28 +01:00

37 lines
752 B
CMake

cmake_minimum_required(VERSION 3.21)
project(navidrome_client VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Quick QuickControls2 Network Multimedia)
qt_standard_project_setup()
qt_policy(SET QTP0001 NEW)
qt_policy(SET QTP0004 NEW)
qt_add_executable(appnavidrome_client
src/main.cpp
src/api/ApiClient.cpp
src/api/ApiClient.h
)
qt_add_qml_module(appnavidrome_client
URI Main
VERSION 1.0
QML_FILES
resources/qml/Main.qml
)
target_link_libraries(appnavidrome_client
PRIVATE
Qt6::Quick
Qt6::QuickControls2
Qt6::Network
Qt6::Multimedia
)
install(TARGETS appnavidrome_client
RUNTIME DESTINATION bin
)