pimoroni-pico/examples/breakout_encoder/CMakeLists.txt

17 lines
377 B
CMake
Raw Normal View History

set(OUTPUT_NAME encoder_demo)
add_executable(
${OUTPUT_NAME}
demo.cpp
)
2021-05-12 23:46:36 +01:00
# enable usb output, disable uart output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
2021-05-14 12:58:16 +01:00
pico_enable_stdio_uart(${OUTPUT_NAME} 1)
2021-05-12 23:46:36 +01:00
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib breakout_encoder)
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})