zephyr/samples/net/sockets/dumb_http_server/CMakeLists.txt

13 lines
475 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})
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
generate_inc_file_for_target(app src/response_small.html.bin ${gen_dir}/response_small.html.bin.inc)
generate_inc_file_for_target(app src/response_big.html.bin ${gen_dir}/response_big.html.bin.inc)
include($ENV{ZEPHYR_BASE}/samples/net/common/common.cmake)