2016-03-09 11:03:20 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(hyperion-osx)
|
|
|
|
|
2016-06-17 01:25:40 +02:00
|
|
|
find_package(Qt5Widgets REQUIRED)
|
2016-03-09 11:03:20 +01:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/protoserver
|
|
|
|
${QT_INCLUDES}
|
|
|
|
${PROTOBUF_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(Hyperion_OSX_QT_HEADERS
|
|
|
|
OsxWrapper.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(Hyperion_OSX_HEADERS
|
|
|
|
)
|
|
|
|
|
|
|
|
set(Hyperion_OSX_SOURCES
|
|
|
|
hyperion-osx.cpp
|
|
|
|
OsxWrapper.cpp
|
|
|
|
)
|
|
|
|
|
2016-06-17 01:25:40 +02:00
|
|
|
QT5_WRAP_CPP(Hyperion_OSX_HEADERS_MOC ${Hyperion_OSX_QT_HEADERS})
|
2016-03-09 11:03:20 +01:00
|
|
|
|
|
|
|
add_executable( ${PROJECT_NAME}
|
|
|
|
${Hyperion_OSX_HEADERS}
|
|
|
|
${Hyperion_OSX_SOURCES}
|
|
|
|
${Hyperion_OSX_HEADERS_MOC}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries( ${PROJECT_NAME}
|
|
|
|
getoptPlusPlus
|
|
|
|
blackborder
|
|
|
|
hyperion-utils
|
|
|
|
protoserver
|
|
|
|
osx-grabber
|
|
|
|
pthread
|
|
|
|
)
|
|
|
|
|
2016-06-17 01:25:40 +02:00
|
|
|
qt5_use_modules(${PROJECT_NAME} Widgets Core Gui Network)
|
2016-05-22 00:27:06 +02:00
|
|
|
|
2016-05-24 19:56:43 +02:00
|
|
|
install ( TARGETS ${PROJECT_NAME} DESTINATION "bin" COMPONENT ambilight )
|