Created
March 29, 2021 09:44
-
-
Save elktros/e321ac039b213dc1195e6591720b2b17 to your computer and use it in GitHub Desktop.
CMakeLists text file for Raspberry Pi Pico New Project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.13) | |
include(pico_sdk_import.cmake) | |
project(myproject_test C CXX ASM) | |
set(CMAKE_C_STANDARD 11) | |
set(CMAKE_CXX_STANDARD 17) | |
pico_sdk_init() | |
add_executable(myproject | |
myproject.c | |
) | |
target_link_libraries(myproject pico_stdlib) | |
pico_enable_stdio_usb(myproject 1) | |
pico_enable_stdio_uart(myproject 1) | |
pico_add_extra_outputs(myproject) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment