19 lines
404 B
CMake
19 lines
404 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set(PICO_SDK_PATH lib/pico-sdk)
|
|
include(lib/pico-sdk/external/pico_sdk_import.cmake)
|
|
|
|
project(vibe-check)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_executable(vibe-check
|
|
src/main.c
|
|
)
|
|
|
|
# Add pico_stdlib library which aggregates commonly used features
|
|
target_link_libraries(vibe-check pico_stdlib)
|
|
|
|
# create map/bin/hex/uf2 file in addition to ELF.
|
|
pico_add_extra_outputs(vibe-check)
|