summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/CMakeLists.txt
blob: 3f796dd5a1c077c5b144ae339d4d527dac73a8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(drivers)

# Include the local test directory for shimmed_test_tasks.h
zephyr_include_directories("${CMAKE_CURRENT_SOURCE_DIR}")

FILE(GLOB test_sources src/*.c)
target_sources(app PRIVATE ${test_sources})

target_sources(app PRIVATE "${PLATFORM_EC}/test/cbi.c")