2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-12-11 23:33:23 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
2017-11-09 00:35:14 +08:00
|
|
|
set(QEMU_EXTRA_FLAGS -s)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2019-09-11 16:12:29 +08:00
|
|
|
if((BOARD STREQUAL nrf51_blenano) OR (BOARD STREQUAL nrf51_ble400))
|
|
|
|
set(CONF_FILE nrf51_qfaa.conf)
|
|
|
|
endif()
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
2018-10-25 22:54:09 +08:00
|
|
|
project(mesh)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
|
|
target_sources_ifdef(CONFIG_BOARD_BBC_MICROBIT app PRIVATE src/microbit.c)
|