1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 5project(dumb_http_server) 6 7FILE(GLOB app_sources src/*.c) 8target_sources(app PRIVATE ${app_sources}) 9 10set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/) 11 12generate_inc_file_for_target(app src/response_small.html.bin ${gen_dir}/response_small.html.bin.inc) 13generate_inc_file_for_target(app src/response_big.html.bin ${gen_dir}/response_big.html.bin.inc) 14 15include(${ZEPHYR_BASE}/samples/net/common/common.cmake) 16