added cmake support for csp lib

This commit is contained in:
2020-12-29 13:59:31 +01:00
parent 96ea535242
commit 9a6fbbaff6
42 changed files with 490 additions and 67 deletions

25
libcsp/src/CMakeLists.txt Normal file
View File

@ -0,0 +1,25 @@
target_sources(${LIB_CSP_NAME} PRIVATE
csp_bridge.c
csp_buffer.c
csp_conn.c
csp_crc32.c
csp_debug.c
csp_dedup.c
csp_endian.c
csp_hex_dump.c
csp_pflist.c
csp_io.c
csp_port.c
csp_promisc.c
csp_qfifo.c
csp_route.c
csp_service_handler.c
csp_services.c
csp_sfp.c
)
add_subdirectory(drivers)
add_subdirectory(crypto)
add_subdirectory(interfaces)
add_subdirectory(rtable)