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

17 lines
577 B
CMake

cmake_minimum_required(VERSION 3.16.0)
project(ScreenPlaySDK)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
find_package(Qt5Core)
find_package(Qt5Quick)
find_package(Qt5Gui)
find_package(Qt5Qml)
set(src screenplay-sdk_plugin.cpp
screenplaysdk.cpp)
set(headers screenplay-sdk_plugin.h
screenplaysdk.h)
add_library(screenplaysdk MODULE ${src} ${headers})
target_link_libraries(screenplaysdk PRIVATE Qt5::Core Qt5::Quick Qt5::Gui Qt5::Qml)
set_target_properties(screenplaysdk PROPERTIES DEBUG_POSTFIX "d")
install(TARGETS screenplaysdk DESTINATION Libs)