mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
71a4d0ba78
* start multiple hyperions. add a config for every hyperiond to start. * spawned hyperiond will exit when parent hyperiond exits, needed for propper function with service script. this should work, but must be refectored asap when hyperiond understands commandline params * add optionParser to hyperiond. multi daemon: exit when any child/parent dies * cleanup * refactor cosmetics for hyperiond Former-commit-id: 3b99c78661550704256f0d5887680e92cb3ddda3
44 lines
1020 B
CMake
44 lines
1020 B
CMake
|
|
add_executable(hyperiond
|
|
hyperiond.cpp)
|
|
|
|
target_link_libraries(hyperiond
|
|
getoptPlusPlus
|
|
hyperion
|
|
xbmcvideochecker
|
|
effectengine
|
|
jsonserver
|
|
boblightserver
|
|
)
|
|
|
|
if (ENABLE_DISPMANX)
|
|
target_link_libraries(hyperiond dispmanx-grabber)
|
|
endif ()
|
|
|
|
if (ENABLE_FB)
|
|
target_link_libraries(hyperiond framebuffer-grabber)
|
|
endif ()
|
|
|
|
if (ENABLE_OSX)
|
|
target_link_libraries(hyperiond osx-grabber)
|
|
endif ()
|
|
|
|
if (ENABLE_V4L2)
|
|
target_link_libraries(hyperiond v4l2-grabber)
|
|
endif ()
|
|
|
|
if (ENABLE_AMLOGIC)
|
|
target_link_libraries(hyperiond amlogic-grabber)
|
|
endif ()
|
|
|
|
if (ENABLE_PROTOBUF)
|
|
target_link_libraries(hyperiond protoserver)
|
|
endif ()
|
|
|
|
install ( TARGETS hyperiond DESTINATION "bin" COMPONENT ambilight )
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/effects DESTINATION "share/hyperion/" COMPONENT ambilight )
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/bin/service DESTINATION "share/hyperion/" COMPONENT ambilight )
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/config DESTINATION "share/hyperion/" COMPONENT ambilight )
|
|
|
|
|