mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Move mbedtls stub headers to the mbedtls doubles dir
Previously all the mbedtls stubs headers under mbed-stubs-headers, so this PR move all mbedtls stubs headers under mbedtls/tests/UNITTESTS/double directory and update CMake to include stubs headers into mbed-stubs-mbedtls library to make mbedtls stubs to be self-contained.pull/14890/head
parent
ef7699d824
commit
d57ed8d95a
|
@ -46,7 +46,6 @@ target_include_directories(mbed-headers
|
|||
target_include_directories(mbed-stubs-headers
|
||||
INTERFACE
|
||||
.
|
||||
${mbed-os_SOURCE_DIR}/connectivity/nanostack/coap-service/test/coap-service/unittest/stub
|
||||
)
|
||||
|
||||
add_subdirectory(connectivity)
|
||||
|
|
|
@ -11,6 +11,12 @@ target_include_directories(mbed-headers-mbedtls
|
|||
|
||||
add_library(mbed-stubs-mbedtls)
|
||||
|
||||
target_include_directories(mbed-stubs-mbedtls
|
||||
PUBLIC
|
||||
.
|
||||
${mbed-os_SOURCE_DIR}/connectivity/nanostack/coap-service/test/coap-service/unittest/stub
|
||||
)
|
||||
|
||||
target_sources(mbed-stubs-mbedtls
|
||||
PRIVATE
|
||||
aes_stub.c
|
||||
|
|
Loading…
Reference in New Issue