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_mt)
6
7FILE(GLOB app_sources src/*.c)
8target_sources(app PRIVATE ${app_sources})
9
10set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
11
12foreach(inc_file
13	mt-http-server-cert.der
14	mt-http-server-key.der
15	response_big.html.bin
16	response_100k.html.bin
17    )
18  generate_inc_file_for_target(
19    app
20    src/${inc_file}
21    ${gen_dir}/${inc_file}.inc
22    )
23endforeach()
24