pimoroni-pico/examples/breakout_ioexpander/button/CMakeLists.txt

17 lines
387 B
CMake
Raw Normal View History

2021-05-13 14:35:11 +01:00
set(OUTPUT_NAME ioexpander_button)
add_executable(
${OUTPUT_NAME}
button.cpp
)
# 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-13 14:35:11 +01:00
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib breakout_ioexpander)
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})