rt-thread-official/bsp/raspberry-pico/libraries/pico-sdk/tools/elf2uf2/CMakeLists.txt

9 lines
225 B
CMake

cmake_minimum_required(VERSION 3.12)
project(elf2uf2)
set(CMAKE_CXX_STANDARD 14)
add_subdirectory(../../src/common/boot_uf2 boot_uf2_headers)
add_executable(elf2uf2 main.cpp)
target_link_libraries(elf2uf2 boot_uf2_headers)