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/isoal.c
20  src/ull.c
21  src/ull_conn_iso.c
22  src/ull_peripheral.c
23  src/ull_peripheral_iso.c
24  src/ull_central.c
25  src/ull_scan.c
26  src/ull_sync.c
27  src/ull_adv_sync.c
28  src/ull_filter.c
29  src/lll_clock.c
30)
31
32
33target_include_directories(mocks PUBLIC
34  include
35  ${ZEPHYR_BASE}/subsys/bluetooth/controller/include
36  ${ZEPHYR_BASE}/subsys/bluetooth/controller
37  ${ZEPHYR_BASE}/subsys/bluetooth
38  ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw
39  ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
40  ${ZEPHYR_BASE}/include/zephyr/bluetooth
41)
42
43target_link_libraries(mocks PRIVATE test_interface)
44