1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00
ScreenPlay/ScreenPlaySDK/CMakeLists.txt

23 lines
578 B
CMake
Raw Normal View History

2020-10-29 18:53:52 +01:00
project(ScreenPlaySDK LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOMOC ON)
find_package(
Qt6
2020-10-29 18:53:52 +01:00
COMPONENTS Quick Network Core
REQUIRED)
set(SOURCES # cmake-format: sortable
src/screenplay-sdk_plugin.cpp src/screenplaysdk.cpp)
set(HEADER # cmake-format: sortable
inc/screenplay-sdk_plugin.h inc/screenplaysdk.h)
add_library(${PROJECT_NAME} ${SOURCES} ${HEADER})
2020-10-29 18:53:52 +01:00
target_include_directories(${PROJECT_NAME} PUBLIC inc)
2021-06-25 16:28:30 +02:00
target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::Core Qt6::Quick Qt6::Gui Qt6::Network)