mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* implement set videomode via json api * refactor grabbers: - new base class - move shared code to base class * fix osx * rework all cmakelist files with auto file collection. except leddevices (need further restructuring) * store current video and grabbing mode * add json stuff * remove grabbingmode - we do not want to expose it
29 lines
733 B
CMake
29 lines
733 B
CMake
|
|
# Define the current source locations
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/protoserver)
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/protoserver)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${PROTOBUF_INCLUDE_DIRS}
|
|
)
|
|
FILE ( GLOB ProtoServer_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
set(ProtoServer_PROTOS ${CURRENT_SOURCE_DIR}/message.proto )
|
|
|
|
protobuf_generate_cpp(ProtoServer_PROTO_SRCS ProtoServer_PROTO_HDRS ${ProtoServer_PROTOS} )
|
|
|
|
add_library(protoserver
|
|
${ProtoServer_SOURCES}
|
|
${ProtoServer_PROTOS}
|
|
${ProtoServer_PROTO_SRCS}
|
|
${ProtoServer_PROTO_HDRS}
|
|
)
|
|
|
|
target_link_libraries(protoserver
|
|
hyperion
|
|
hyperion-utils
|
|
protobuf
|
|
Qt5::Gui
|
|
)
|