mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
23 lines
735 B
CMake
23 lines
735 B
CMake
|
|
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/hyperion)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/hyperion)
|
|
|
|
add_library(hyperion
|
|
${CURRENT_HEADER_DIR}/Hyperion.h
|
|
${CURRENT_HEADER_DIR}/LedDevice.h
|
|
${CURRENT_HEADER_DIR}/LedString.h
|
|
${CURRENT_HEADER_DIR}/ImageToLedsMap.h
|
|
|
|
${CURRENT_SOURCE_DIR}/LedDeviceWs2801.h
|
|
${CURRENT_SOURCE_DIR}/LedDeviceWs2801.cpp
|
|
${CURRENT_SOURCE_DIR}/LedString.cpp
|
|
${CURRENT_SOURCE_DIR}/Hyperion.cpp
|
|
${CURRENT_SOURCE_DIR}/ImageToLedsMap.cpp
|
|
${CURRENT_SOURCE_DIR}/ColorTransform.h
|
|
${CURRENT_SOURCE_DIR}/ColorTransform.cpp
|
|
)
|
|
|
|
target_link_libraries(hyperion
|
|
hyperion-utils)
|