forked from ROMEO/obsw
working on lwip
This commit is contained in:
22
bsp_linux/lwip/CMakeLists.txt
Normal file
22
bsp_linux/lwip/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# LWIP_DIR should point to the lwip source, to be set in main CMakeLists.txt
|
||||
include(${LWIP_DIR}/src/Filelists.cmake)
|
||||
|
||||
set (LWIP_INCLUDE_DIRS
|
||||
"${LWIP_DIR}/src/include"
|
||||
"${LWIP_DIR}/src/include/compat/posix"
|
||||
"include"
|
||||
)
|
||||
|
||||
set(lwip_SRCS
|
||||
${lwipcore_SRCS}
|
||||
${lwipcore4_SRCS}
|
||||
${lwipcore6_SRCS}
|
||||
${lwipnetif_SRCS}
|
||||
${lwipapi_SRCS}
|
||||
#${LWIP_DIR}/contrib/ports/freertos/sys_arch.c
|
||||
#${LWIP_DIR}/src/netif/slipif.c
|
||||
#${LWIP_DIR}/src/apps/tftp/tftp.c
|
||||
)
|
||||
|
||||
add_library(lwip ${lwip_SRCS})
|
||||
target_include_directories(lwip PUBLIC ${LWIP_INCLUDE_DIRS})
|
Reference in New Issue
Block a user