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)
|
2025-03-15 17:54:38 +08:00
|
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/eth eth)
|
2025-03-15 16:19:50 +08:00
|
|
|
|
|
|
|
|
target_link_libraries(${TARGET} pio_instance)
|
2025-03-15 17:54:38 +08:00
|
|
|
target_link_libraries(${TARGET} eth)
|