pimoroni-pico/examples/encoder/encoder_value_dial.cmake

13 lines
275 B
CMake
Raw Normal View History

2022-05-12 16:15:40 +01:00
set(OUTPUT_NAME encoder_value_dial)
add_executable(${OUTPUT_NAME} encoder_value_dial.cpp)
target_link_libraries(${OUTPUT_NAME}
pico_stdlib
encoder
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})