CMake: Move lorawan stub headers to the lorawan/tests/UNITTESTS/double dir

Previously all the lorawan stubs headers under mbed-stubs-headers,
so this PR move all lorawan stubs headers under
cellular/tests/UNITTESTS/double directory and update CMake to include
stubs headers into mbed-stubs-lorawan library to make lorawan stubs to be self-contained
pull/14842/head
Rajkumar Kanagaraj 2021-06-29 07:25:52 -07:00
parent 728e183205
commit 46d4247b58
6 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ target_compile_definitions(mbed-stubs-lorawan
MBED_CONF_LORA_TX_MAX_SIZE=255 MBED_CONF_LORA_TX_MAX_SIZE=255
) )
target_include_directories(mbed-stubs-lorawan
PUBLIC
.
)
target_sources(mbed-stubs-lorawan target_sources(mbed-stubs-lorawan
PRIVATE PRIVATE
LoRaMacChannelPlan_stub.cpp LoRaMacChannelPlan_stub.cpp