1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 12:13:00 +01:00
ScreenPlay/ScreenPlaySDK/CMakeLists.txt
2023-01-19 10:33:49 +01:00

27 lines
596 B
CMake

# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
project(ScreenPlaySDK LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOMOC ON)
find_package(
Qt6
COMPONENTS Quick Network Core
REQUIRED)
set(SOURCES src/screenplaysdk.cpp)
set(HEADER inc/public/ScreenPlaySDK/screenplaysdk.h)
add_library(${PROJECT_NAME} ${SOURCES} ${HEADER})
target_include_directories(${PROJECT_NAME} PUBLIC inc/public/)
target_link_libraries(
${PROJECT_NAME}
PRIVATE Qt6::Core
Qt6::Quick
Qt6::Gui
Qt6::Network)