zephyr/samples/net/coap_client/CMakeLists.txt
Jukka Rissanen 3c0a0053fa samples: net: Remove QEMU_NET_STACK setting from CMakeLists.txt
The QEMU_NET_STACK is enabled automatically if building
a networking application to QEMU so no need to do it for
each networking sample.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-11-10 14:52:53 +02:00

15 lines
352 B
CMake

include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(NONE)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
if(CONFIG_NET_TESTING)
target_include_directories(app PRIVATE
$ENV{ZEPHYR_BASE}/samples/net/common
)
target_compile_definitions(app PRIVATE
NET_TESTING_SERVER=1
)
endif()