pimoroni-pico/examples/pico_rtc/CMakeLists.txt

15 lines
293 B
CMake
Raw Normal View History

2022-05-27 15:44:58 +01:00
set(OUTPUT_NAME rtc)
add_executable(
${OUTPUT_NAME}
demo.cpp
)
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib pcf85063a)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})