2018-04-30 20:29:07 +00:00
|
|
|
# This file is indended to be included in end-user CMakeLists.txt
|
|
|
|
# include(/path/to/Filelists.cmake)
|
|
|
|
# It assumes the variable LWIP_DIR is defined pointing to the
|
|
|
|
# root path of lwIP sources.
|
2018-04-27 21:58:36 +00:00
|
|
|
#
|
2018-04-30 20:29:07 +00:00
|
|
|
# This file is NOT designed (on purpose) to be used as cmake
|
|
|
|
# subdir via add_subdirectory()
|
2018-10-12 20:01:25 +00:00
|
|
|
# The intention is to provide greater flexibility to users to
|
2018-04-30 20:29:07 +00:00
|
|
|
# create their own targets using the *_SRCS variables.
|
2018-04-27 21:58:36 +00:00
|
|
|
|
2018-10-12 20:01:25 +00:00
|
|
|
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.10.0")
|
|
|
|
include_guard(GLOBAL)
|
|
|
|
endif()
|
2018-10-05 06:02:34 +00:00
|
|
|
|
2018-04-27 21:58:36 +00:00
|
|
|
set(LWIP_TESTDIR ${LWIP_DIR}/test/unit)
|
|
|
|
set(LWIP_TESTFILES
|
|
|
|
${LWIP_TESTDIR}/lwip_unittests.c
|
|
|
|
${LWIP_TESTDIR}/api/test_sockets.c
|
|
|
|
${LWIP_TESTDIR}/arch/sys_arch.c
|
|
|
|
${LWIP_TESTDIR}/core/test_def.c
|
2020-07-04 16:31:36 +00:00
|
|
|
${LWIP_TESTDIR}/core/test_dns.c
|
2018-04-27 21:58:36 +00:00
|
|
|
${LWIP_TESTDIR}/core/test_mem.c
|
|
|
|
${LWIP_TESTDIR}/core/test_netif.c
|
|
|
|
${LWIP_TESTDIR}/core/test_pbuf.c
|
|
|
|
${LWIP_TESTDIR}/core/test_timers.c
|
|
|
|
${LWIP_TESTDIR}/dhcp/test_dhcp.c
|
|
|
|
${LWIP_TESTDIR}/etharp/test_etharp.c
|
|
|
|
${LWIP_TESTDIR}/ip4/test_ip4.c
|
2018-06-10 17:23:02 +00:00
|
|
|
${LWIP_TESTDIR}/ip6/test_ip6.c
|
2018-04-27 21:58:36 +00:00
|
|
|
${LWIP_TESTDIR}/mdns/test_mdns.c
|
|
|
|
${LWIP_TESTDIR}/mqtt/test_mqtt.c
|
|
|
|
${LWIP_TESTDIR}/tcp/tcp_helper.c
|
|
|
|
${LWIP_TESTDIR}/tcp/test_tcp_oos.c
|
|
|
|
${LWIP_TESTDIR}/tcp/test_tcp.c
|
|
|
|
${LWIP_TESTDIR}/udp/test_udp.c
|
|
|
|
)
|