mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 11:32:42 +01:00
8e0a3a8f50
Apparently auto format does not work via general set variables
26 lines
521 B
CMake
26 lines
521 B
CMake
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)
|