pimoroni-pico/examples/breakout_bme280/bme280_basic.cmake

13 lines
257 B
CMake
Raw Normal View History

2021-05-14 12:39:46 +01:00
set(OUTPUT_NAME bme280_basic_demo)
add_executable(
${OUTPUT_NAME}
bme280_basic.cpp
)
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib bme280)
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})