12 lines
327 B
CMake
12 lines
327 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
|
|
project(mesh)
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)
|
|
target_sources(app PRIVATE src/main.c)
|
|
if(CONFIG_BOARD_BBC_MICROBIT)
|
|
target_sources(app PRIVATE src/microbit.c)
|
|
endif()
|