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)
|
2020-05-29 08:58:50 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2018-10-25 22:54:09 +08:00
|
|
|
project(rand32)
|
2018-03-23 05:09:40 +08:00
|
|
|
|
2019-10-07 23:19:26 +08:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/kernel/include/)
|
2018-07-19 12:52:02 +08:00
|
|
|
|
2018-03-23 05:09:40 +08:00
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|
2019-10-24 23:08:21 +08:00
|
|
|
|
|
|
|
target_include_directories(app PRIVATE
|
|
|
|
${ZEPHYR_BASE}/kernel/include
|
|
|
|
${ZEPHYR_BASE}/arch/${ARCH}/include
|
|
|
|
)
|