mirror of https://github.com/ARMmbed/mbed-os.git
CMake: connectivity: Add drivers subdirectory for tests
Greentea tests run on microcontrollers, so any required drivers need to be available and built. Note: Even though unit tests do not require drivers, for ease of maintenance there's no need to exclude those drivers when building unit tests because a driver only gets enabled when the Mbed target matches.pull/15096/head
parent
db8852c5d8
commit
ce1f054bd3
|
@ -27,6 +27,7 @@ add_library(mbed-wifi INTERFACE)
|
|||
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
|
||||
# Add these subdirectories for tests
|
||||
add_subdirectory(cellular)
|
||||
add_subdirectory(drivers)
|
||||
add_subdirectory(FEATURE_BLE)
|
||||
add_subdirectory(libraries)
|
||||
add_subdirectory(lorawan)
|
||||
|
|
Loading…
Reference in New Issue