pimoroni-pico/CMakeLists.txt

18 lines
366 B
CMake

cmake_minimum_required(VERSION 3.12)
# Pull in PICO SDK (must be before project)
include(pico_sdk_import.cmake)
project(pico_examples C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
# Initialize the SDK
pico_sdk_init()
add_subdirectory(drivers)
add_subdirectory(libraries)
# Example Pico Pack projects
add_subdirectory(examples)