1# Copyright (c) 2020 Linumiz
2#
3# SPDX-License-Identifier: Apache-2.0
4
5cmake_minimum_required(VERSION 3.20.0)
6
7# This application has its own Kconfig options.
8set(KCONFIG_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/Kconfig)
9
10find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
11project(hawkbit)
12
13target_sources(app PRIVATE src/main.c)
14
15include(${ZEPHYR_BASE}/samples/net/common/common.cmake)
16
17set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
18
19generate_inc_file_for_target(
20    app
21    src/self_sign.der
22    ${gen_dir}/self_sign.der.inc
23    )
24