aaf0c6e827
Add initial build rules for CHRE. This change includes a Kconfig and CMakeLists.txt to begin compiling code from the CHRE module. Additional files are included to bridge the APIs from CHRE's to Zephyr's. These can be found in modules/chre/include and modules/chre/src. Additionally, add a sample to make sure that the module builds. It can be built via: ``` $ west build -b native_posix -p=always samples/application_development/chre ``` Signed-off-by: Yuval Peress <peress@google.com>
12 lines
306 B
CMake
12 lines
306 B
CMake
# Copyright (c) Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(chre_sample)
|
|
|
|
FILE(GLOB app_sources src/*.cpp)
|
|
target_sources(app PRIVATE ${app_sources})
|
|
target_include_directories(app PRIVATE include)
|