mirror of
https://github.com/stasenso/rp_pico_display_engine.git
synced 2026-06-26 21:32:41 +03:00
31 lines
572 B
CMake
31 lines
572 B
CMake
cmake_minimum_required(VERSION 3.18.4)
|
|
include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
|
|
|
|
project(rp_pico_display_engine C CXX ASM)
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
main.c
|
|
Thread.c
|
|
src/Font/font_data.c
|
|
src/render/context.c
|
|
BackBuffer.c
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME} PRIVATE
|
|
include
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
pico_stdlib
|
|
hardware_spi
|
|
hardware_dma
|
|
hardware_timer
|
|
pico_multicore
|
|
)
|
|
|
|
pico_add_extra_outputs(${PROJECT_NAME})
|