qclk/mcu/CMakeLists.txt

20 lines
435 B
CMake

cmake_minimum_required(VERSION 3.12)
# Pull in SDK (must be before project)
include(pico_sdk_import.cmake)
project(test_project C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_COMPILER_WORKS ON)
set(CMAKE_CXX_COMPILER_WORKS ON)
pico_sdk_init()
add_executable(qclk
main.c
)
pico_enable_stdio_usb(qclk 1)
pico_enable_stdio_uart(qclk 1)
pico_add_extra_outputs(qclk)
target_link_libraries(qclk pico_stdlib)