mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
5c7085439b
* update * resolve qt5w * test * Go down cmake python search won the price for crazy lib searches! * 2.7 python forced, RPATH * upstream * ... * update * ... * 2.7.12 py it picks random versions... * max 7.12.5.... * Test 14.04 tests
58 lines
1.5 KiB
CMake
58 lines
1.5 KiB
CMake
|
|
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/hyperion)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/hyperion)
|
|
|
|
SET(Hyperion_HEADERS
|
|
${CURRENT_HEADER_DIR}/ImageProcessorFactory.h
|
|
${CURRENT_HEADER_DIR}/ImageToLedsMap.h
|
|
${CURRENT_HEADER_DIR}/LedString.h
|
|
|
|
${CURRENT_SOURCE_DIR}/MultiColorAdjustment.h
|
|
${CURRENT_HEADER_DIR}/MessageForwarder.h
|
|
|
|
${CURRENT_HEADER_DIR}/Hyperion.h
|
|
${CURRENT_HEADER_DIR}/ImageProcessor.h
|
|
|
|
${CURRENT_SOURCE_DIR}/LinearColorSmoothing.h
|
|
${CURRENT_HEADER_DIR}/GrabberWrapper.h
|
|
${CURRENT_HEADER_DIR}/ComponentRegister.h
|
|
${CURRENT_HEADER_DIR}/PriorityMuxer.h
|
|
)
|
|
|
|
SET(Hyperion_SOURCES
|
|
${CURRENT_SOURCE_DIR}/Hyperion.cpp
|
|
${CURRENT_SOURCE_DIR}/ImageProcessor.cpp
|
|
${CURRENT_SOURCE_DIR}/ImageProcessorFactory.cpp
|
|
${CURRENT_SOURCE_DIR}/LedString.cpp
|
|
${CURRENT_SOURCE_DIR}/PriorityMuxer.cpp
|
|
|
|
${CURRENT_SOURCE_DIR}/ImageToLedsMap.cpp
|
|
${CURRENT_SOURCE_DIR}/MultiColorAdjustment.cpp
|
|
${CURRENT_SOURCE_DIR}/LinearColorSmoothing.cpp
|
|
${CURRENT_SOURCE_DIR}/MessageForwarder.cpp
|
|
${CURRENT_SOURCE_DIR}/GrabberWrapper.cpp
|
|
${CURRENT_SOURCE_DIR}/ComponentRegister.cpp
|
|
)
|
|
|
|
SET(Hyperion_RESOURCES
|
|
${CURRENT_SOURCE_DIR}/resource.qrc
|
|
)
|
|
|
|
QT5_ADD_RESOURCES(Hyperion_RESOURCES_RCC ${Hyperion_RESOURCES} OPTIONS "-no-compress")
|
|
|
|
add_library(hyperion
|
|
${Hyperion_HEADERS}
|
|
${Hyperion_SOURCES}
|
|
${Hyperion_RESOURCES_RCC}
|
|
)
|
|
|
|
target_link_libraries(hyperion
|
|
blackborder
|
|
hyperion-utils
|
|
leddevice
|
|
bonjour
|
|
effectengine
|
|
${QT_LIBRARIES}
|
|
)
|