20 lines
426 B
CMake
20 lines
426 B
CMake
|
#
|
||
|
# Copyright (c) 2022 Nordic Semiconductor ASA
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
#
|
||
|
|
||
|
cmake_minimum_required(VERSION 3.20.0)
|
||
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||
|
project(zcbor_bulk)
|
||
|
|
||
|
FILE(GLOB app_sources
|
||
|
src/*.c
|
||
|
${ZEPHYR_BASE}/subsys/mgmt/mcumgr/lib/util/src/zcbor_bulk.c
|
||
|
)
|
||
|
zephyr_include_directories(
|
||
|
${ZEPHYR_BASE}/subsys/mgmt/mcumgr/lib/util/include/
|
||
|
)
|
||
|
|
||
|
target_sources(app PRIVATE ${app_sources})
|