21 lines
No EOL
530 B
CMake
21 lines
No EOL
530 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-volatile")
|
|
|
|
# Initialise pico_sdk from installed location
|
|
# (note this can come from environment, CMake cache etc)
|
|
set(PICO_SDK_PATH "/usr/share/pico-sdk")
|
|
|
|
# Pull in Raspberry Pi Pico SDK (must be before project)
|
|
include("cmake/pico_sdk_import.cmake")
|
|
|
|
project(gbmanager VERSION "1.0.0" LANGUAGES C CXX ASM)
|
|
|
|
|
|
# Initialise the Raspberry Pi Pico SDK
|
|
pico_sdk_init()
|
|
|
|
add_subdirectory(src) |