1# 2# Copyright (c) 2022 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6# CMakeLists.txt file for creating of mocks library. 7# 8 9add_library(mocks STATIC 10 src/kernel.c 11 src/ecb.c 12 src/mayfly.c 13 src/lll.c 14 src/lll_conn.c 15 src/ll_assert.c 16 src/assert.c 17 src/util.c 18 src/ticker.c 19 src/ull.c 20 src/ull_conn_iso.c 21 src/ull_peripheral.c 22 src/ull_peripheral_iso.c 23 src/ull_central.c 24 src/ull_scan.c 25 src/lll_clock.c 26) 27 28 29target_include_directories(mocks PUBLIC 30 include 31 ${ZEPHYR_BASE}/subsys/bluetooth/controller/include 32 ${ZEPHYR_BASE}/subsys/bluetooth/controller 33 ${ZEPHYR_BASE}/subsys/bluetooth 34 ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw 35 ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic 36 ${ZEPHYR_BASE}/include/zephyr/bluetooth 37) 38 39target_link_libraries(mocks PRIVATE test_interface) 40