samples: dump_http_server: move generated files into include/generated
Move the generated files into include/generated so they live with the build and not in the zephyr source tree. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
2e7146b7a6
commit
d9bd6909c3
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,9 @@ project(NONE)
|
||||||
FILE(GLOB app_sources src/*.c)
|
FILE(GLOB app_sources src/*.c)
|
||||||
target_sources(app PRIVATE ${app_sources})
|
target_sources(app PRIVATE ${app_sources})
|
||||||
|
|
||||||
generate_inc_file_for_target(app src/response_small.html.bin src/response_small.html.bin.inc)
|
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
|
||||||
generate_inc_file_for_target(app src/response_big.html.bin src/response_big.html.bin.inc)
|
|
||||||
|
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)
|
include($ENV{ZEPHYR_BASE}/samples/net/common/common.cmake)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue