mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
21 lines
607 B
CMake
21 lines
607 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
|
|
)
|
|
|
|
target_link_libraries(hyperion
|
|
hyperion-utils)
|