mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-23 03:02:30 +01:00
4dcea75242
This will make reusing easier like enum parsing between ScreenPlay and ScreenPlayWallpaper & project load/save
21 lines
499 B
CMake
21 lines
499 B
CMake
project(ScreenPlaySDK LANGUAGES CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_AUTORCC ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
find_package(
|
|
Qt5
|
|
COMPONENTS Quick Network Core
|
|
REQUIRED)
|
|
|
|
set(src src/screenplay-sdk_plugin.cpp src/screenplaysdk.cpp)
|
|
|
|
set(headers inc/screenplay-sdk_plugin.h inc/screenplaysdk.h)
|
|
|
|
add_library(${PROJECT_NAME} ${src} ${headers})
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core Qt5::Quick Qt5::Gui Qt5::Network)
|
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC inc)
|