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