13 lines
490 B
CMake
13 lines
490 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/../../drivers/st7789/st7789.cmake)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../pico_graphics/pico_graphics.cmake)
|
|
|
|
add_library(pico_explorer INTERFACE)
|
|
|
|
target_sources(pico_explorer INTERFACE
|
|
${CMAKE_CURRENT_LIST_DIR}/pico_explorer.cpp
|
|
)
|
|
|
|
target_include_directories(pico_explorer INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
# Pull in pico libraries that we need
|
|
target_link_libraries(pico_explorer INTERFACE pico_stdlib hardware_pwm hardware_adc st7789 pico_graphics) |