samples: mesh_badge: allow to build for any version of the reel board

Allow to build sample for any version of the reel board.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2019-10-18 18:48:16 +02:00 committed by Anas Nashif
parent f467f07e14
commit 39708536ba

View file

@ -4,4 +4,5 @@ cmake_minimum_required(VERSION 3.13.1)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(mesh_badge)
target_sources(app PRIVATE src/main.c src/mesh.c src/periphs.c src/${BOARD}.c)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})