1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE})
6
7project(bt_data_parse)
8
9add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host host_mocks)
10
11target_link_libraries(testbinary PRIVATE host_mocks)
12
13target_sources(testbinary
14    PRIVATE
15    src/main.c
16
17    ${ZEPHYR_BASE}/subsys/bluetooth/host/data.c
18    ${ZEPHYR_BASE}/lib/net_buf/buf_simple.c
19    ${ZEPHYR_BASE}/subsys/logging/log_minimal.c
20    ${ZEPHYR_BASE}/subsys/bluetooth/common/bt_str.c
21    ${ZEPHYR_BASE}/subsys/bluetooth/host/uuid.c
22)
23