1#
2# CMakeLists.txt file for creating of mocks library.
3#
4
5add_library(mocks STATIC
6            addr.c
7            addr_expects.c
8            adv.c
9            adv_expects.c
10            conn.c
11            conn_expects.c
12            crypto.c
13            crypto_expects.c
14            hci_core.c
15            hci_core_expects.c
16            kernel.c
17            kernel_expects.c
18            keys.c
19            keys_expects.c
20            net_buf.c
21            net_buf_expects.c
22            rpa.c
23            rpa_expects.c
24            scan.c
25            scan_expects.c
26            settings.c
27            settings_expects.c
28            smp.c
29            smp_expects.c
30)
31
32target_include_directories(mocks PUBLIC
33  ..
34  ${ZEPHYR_BASE}/subsys/bluetooth
35  ${ZEPHYR_BASE}/subsys/bluetooth/host
36  ${ZEPHYR_BASE}/tests/bluetooth/host
37  ${ZEPHYR_BASE}/tests/bluetooth/host/id/mocks
38)
39
40target_link_libraries(mocks PRIVATE test_interface)
41