2018-12-11 23:33:23 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
2017-10-27 21:43:34 +08:00
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
2018-10-25 22:54:09 +08:00
|
|
|
project(dumb_http_server)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|
|
|
|
|
2018-02-22 00:28:53 +08:00
|
|
|
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)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
include($ENV{ZEPHYR_BASE}/samples/net/common/common.cmake)
|