pico-bt-display/CMakeLists.txt

23 lines
505 B
Text
Raw Normal View History

2024-05-13 16:29:38 +02:00
cmake_minimum_required(VERSION 3.13)
set(PICO_SDK_PATH ../pico-sdk)
# initialize the SDK based on PICO_SDK_PATH
# note: this must happen before project()
include(pico_sdk_import.cmake)
project(dp)
# initialize the Raspberry Pi Pico SDK
pico_sdk_init()
add_executable(dp
src/main.c
2024-05-13 16:48:12 +02:00
src/display.c
2024-05-13 16:29:38 +02:00
)
# Add pico_stdlib library which aggregates commonly used features
2024-05-13 16:48:12 +02:00
target_link_libraries(dp pico_stdlib hardware_spi)
2024-05-13 16:29:38 +02:00
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(dp)