zephyr/samples/net/sockets/http_get/CMakeLists.txt

20 lines
445 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(http_get)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
include(${ZEPHYR_BASE}/samples/net/common/common.cmake)
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
generate_inc_file_for_target(
app
src/globalsign_r2.der
${gen_dir}/globalsign_r2.der.inc
)