2021-01-22 14:33:17 +00:00
|
|
|
add_library(pico_scroll INTERFACE)
|
|
|
|
|
2021-04-21 14:35:26 +01:00
|
|
|
set(PICO_SCROLL_SOURCES
|
2021-01-22 14:33:17 +00:00
|
|
|
${CMAKE_CURRENT_LIST_DIR}/pico_scroll.cpp
|
2021-04-21 14:35:26 +01:00
|
|
|
${CMAKE_CURRENT_LIST_DIR}/pico_scroll_font.cpp)
|
|
|
|
|
|
|
|
target_sources(pico_scroll INTERFACE
|
|
|
|
${PICO_SCROLL_SOURCES}
|
2021-01-22 14:33:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(pico_scroll INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
|
|
|
target_link_libraries(pico_scroll INTERFACE pico_stdlib hardware_i2c)
|