rp2040/component/CMakeLists.txt

10 lines
224 B
CMake
Raw Normal View History

2025-03-15 16:19:50 +08:00
file(GLOB FILELIST
component.c
)
set(TARGET component)
add_library(${TARGET} STATIC ${FILELIST})
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/pio_instance pio_instance)
target_link_libraries(${TARGET} pio_instance)