1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-01 08:52:45 +00:00

Slight improvements to the OpenAPI generator

This commit is contained in:
Chris Josten 2021-02-21 00:26:18 +01:00
parent 0bd9042ef3
commit 4ed6a8a42d
4 changed files with 662 additions and 6 deletions

View file

@ -2,6 +2,8 @@ project(jellyfin-qt VERSION 0.1.0)
find_package(Qt5 5.6 COMPONENTS Multimedia Network Qml WebSockets REQUIRED)
include(GNUInstallDirs)
include(GeneratedSources.cmake)
set(jellyfin-qt_SOURCES
src/DTO/dto.cpp
src/DTO/item.cpp
@ -20,6 +22,8 @@ set(jellyfin-qt_SOURCES
src/serverdiscoverymodel.cpp
src/websocket.cpp)
list(APPEND jellyfin-qt_SOURCES openapi_HEADERS)
set(jellyfin-qt_HEADERS
include/JellyfinQt/DTO/dto.h
include/JellyfinQt/DTO/item.h
@ -37,6 +41,8 @@ set(jellyfin-qt_HEADERS
include/JellyfinQt/playbackmanager.h
include/JellyfinQt/serverdiscoverymodel.h
include/JellyfinQt/websocket.h)
list(APPEND jellyfin-qt_SOURCES openapi_SOURCES)
add_definitions(-DSAILFIN_VERSION=\"${SAILFIN_VERSION}\")
if (PLATFORM_SAILFISHOS)