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

20 lines
472 B
CMake
Raw Normal View History

2020-10-29 18:53:52 +01:00
project(ScreenPlaySDK LANGUAGES CXX)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOMOC ON)
find_package(
2020-10-29 18:53:52 +01:00
Qt5
COMPONENTS Quick Network Core
REQUIRED)
2020-10-29 18:53:52 +01:00
set(src src/screenplay-sdk_plugin.cpp src/screenplaysdk.cpp)
2020-10-29 18:53:52 +01:00
set(headers inc/screenplay-sdk_plugin.h inc/screenplaysdk.h)
2020-10-29 18:53:52 +01:00
add_library(${PROJECT_NAME} ${src} ${headers})
2020-10-29 18:53:52 +01:00
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core Qt5::Quick Qt5::Gui Qt5::Network)
2020-10-29 18:53:52 +01:00
target_include_directories(${PROJECT_NAME} PUBLIC inc)