Unit test project for bt_pub_key_gen(). This is part of subsys/bluetooth/host/ecc.c unit testing. Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
25 lines
621 B
CMake
25 lines
621 B
CMake
#
|
|
# CMakeLists.txt file for creating of mocks library.
|
|
#
|
|
|
|
add_library(mocks STATIC
|
|
mocks/net_buf.c
|
|
mocks/net_buf_expects.c
|
|
mocks/hci_core.c
|
|
mocks/hci_core_expects.c
|
|
mocks/ecc_help_utils.c
|
|
|
|
${ZEPHYR_BASE}/subsys/bluetooth/host/ecc.c
|
|
${ZEPHYR_BASE}/subsys/logging/log_minimal.c
|
|
)
|
|
|
|
target_include_directories(mocks PUBLIC
|
|
.
|
|
${ZEPHYR_BASE}/subsys/bluetooth
|
|
${ZEPHYR_BASE}/subsys/bluetooth/host
|
|
${ZEPHYR_BASE}/tests/bluetooth/host
|
|
${ZEPHYR_BASE}/tests/bluetooth/host/ecc/mocks
|
|
)
|
|
|
|
target_link_libraries(mocks PRIVATE test_interface)
|