1cmake_minimum_required(VERSION 3.20.0) 2# Top-level CMakeLists.txt for the skeleton application. 3# 4# Copyright (c) 2017 Open Source Foundries Limited 5# 6# SPDX-License-Identifier: Apache-2.0 7# 8# This provides a basic application structure suitable for communication using 9# mcumgr. It can be used as a starting point for new applications. 10 11# Standard Zephyr application boilerplate. 12find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 13project(smp_svr) 14 15target_sources(app PRIVATE src/main.c) 16target_sources_ifdef(CONFIG_MCUMGR_TRANSPORT_BT app PRIVATE src/bluetooth.c) 17