10 lines
224 B
CMake
10 lines
224 B
CMake
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)
|