1# This file is indended to be included in end-user CMakeLists.txt 2# include(/path/to/Filelists.cmake) 3# It assumes the variable LWIP_DIR is defined pointing to the 4# root path of lwIP sources. 5# 6# This file is NOT designed (on purpose) to be used as cmake 7# subdir via add_subdirectory() 8# The intention is to provide greater flexibility to users to 9# create their own targets using the *_SRCS variables. 10 11set(LWIP_TESTDIR ${LWIP_DIR}/test/unit) 12set(LWIP_TESTFILES 13 ${LWIP_TESTDIR}/lwip_unittests.c 14 ${LWIP_TESTDIR}/api/test_sockets.c 15 ${LWIP_TESTDIR}/arch/sys_arch.c 16 ${LWIP_TESTDIR}/core/test_def.c 17 ${LWIP_TESTDIR}/core/test_mem.c 18 ${LWIP_TESTDIR}/core/test_netif.c 19 ${LWIP_TESTDIR}/core/test_pbuf.c 20 ${LWIP_TESTDIR}/core/test_timers.c 21 ${LWIP_TESTDIR}/dhcp/test_dhcp.c 22 ${LWIP_TESTDIR}/etharp/test_etharp.c 23 ${LWIP_TESTDIR}/ip4/test_ip4.c 24 ${LWIP_TESTDIR}/ip6/test_ip6.c 25 ${LWIP_TESTDIR}/mdns/test_mdns.c 26 ${LWIP_TESTDIR}/mqtt/test_mqtt.c 27 ${LWIP_TESTDIR}/tcp/tcp_helper.c 28 ${LWIP_TESTDIR}/tcp/test_tcp_oos.c 29 ${LWIP_TESTDIR}/tcp/test_tcp.c 30 ${LWIP_TESTDIR}/udp/test_udp.c 31) 32