2023-01-19 10:33:49 +01:00
|
|
|
# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
|
2020-10-29 18:53:52 +01:00
|
|
|
project(ScreenPlaySDK LANGUAGES CXX)
|
2020-04-30 20:03:14 +02:00
|
|
|
|
2021-01-28 15:19:46 +01:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
2020-04-30 20:03:14 +02:00
|
|
|
set(CMAKE_AUTORCC ON)
|
2020-03-10 12:16:58 +01:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
2021-09-10 11:09:38 +02:00
|
|
|
|
2020-04-30 20:03:14 +02:00
|
|
|
find_package(
|
2021-09-10 11:09:38 +02:00
|
|
|
Qt6
|
2020-10-29 18:53:52 +01:00
|
|
|
COMPONENTS Quick Network Core
|
|
|
|
REQUIRED)
|
2020-04-30 20:03:14 +02:00
|
|
|
|
2022-11-02 11:33:40 +01:00
|
|
|
set(SOURCES src/screenplaysdk.cpp)
|
2020-05-16 13:37:32 +02:00
|
|
|
|
2022-11-02 11:33:40 +01:00
|
|
|
set(HEADER inc/public/ScreenPlaySDK/screenplaysdk.h)
|
2020-04-30 20:03:14 +02:00
|
|
|
|
2021-10-15 15:06:05 +02:00
|
|
|
add_library(${PROJECT_NAME} ${SOURCES} ${HEADER})
|
2020-04-30 20:03:14 +02:00
|
|
|
|
2022-05-06 15:54:52 +02:00
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC inc/public/)
|
2021-06-25 16:28:30 +02:00
|
|
|
|
2022-03-12 14:36:03 +01:00
|
|
|
target_link_libraries(
|
|
|
|
${PROJECT_NAME}
|
2024-01-05 16:51:11 +01:00
|
|
|
PUBLIC Qt6::Core
|
2024-03-01 09:20:11 +01:00
|
|
|
Qt6::Quick
|
|
|
|
Qt6::Gui
|
|
|
|
Qt6::Network
|
|
|
|
ScreenPlayUtil)
|