Add missed 'zephyr' prefix to files paths while including. Also, remove that paths from libraries include paths to generate compilation error if shortened path is used. Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
24 lines
585 B
CMake
24 lines
585 B
CMake
#
|
|
# CMakeLists.txt file for creating of mocks library.
|
|
#
|
|
|
|
add_library(mocks STATIC
|
|
mocks/id.c
|
|
mocks/rpa.c
|
|
mocks/conn.c
|
|
mocks/hci_core.c
|
|
mocks/hci_core_expects.c
|
|
mocks/keys_help_utils.c
|
|
|
|
${ZEPHYR_BASE}/subsys/bluetooth/host/keys.c
|
|
${ZEPHYR_BASE}/subsys/bluetooth/common/addr.c
|
|
)
|
|
|
|
target_include_directories(mocks PUBLIC
|
|
.
|
|
${ZEPHYR_BASE}/tests/bluetooth/host
|
|
${ZEPHYR_BASE}/subsys/bluetooth
|
|
${ZEPHYR_BASE}/subsys/bluetooth/host
|
|
)
|
|
|
|
target_link_libraries(mocks PRIVATE test_interface)
|