1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 5project(server_core) 6 7set(BASE_PATH "../../../../../subsys/net/lib/http/") 8include_directories(${BASE_PATH}/headers) 9 10FILE(GLOB app_sources src/main.c) 11target_sources(app PRIVATE ${app_sources}) 12 13set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/) 14 15target_link_libraries(app PRIVATE zephyr_interface zephyr) 16 17zephyr_linker_sources(SECTIONS sections-rom.ld) 18zephyr_iterable_section(NAME http_resource_desc_test_http_service KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN}) 19