Lines Matching refs:config
29 set(OT_MBEDTLS_DEFAULT_CONFIG_FILE \"openthread-mbedtls-config.h\")
31 set(OT_MBEDTLS_CONFIG_FILE "" CACHE STRING "The mbedTLS config file")
53 add_custom_command(OUTPUT openthread-mbedtls-config.h
55 "'-D$<JOIN:$<TARGET_PROPERTY:ot-config,INTERFACE_COMPILE_DEFINITIONS>,';'-D>'"
56 "-I$<JOIN:$<TARGET_PROPERTY:ot-config,INTERFACE_INCLUDE_DIRECTORIES>,;-I>"
59 "${CMAKE_CURRENT_SOURCE_DIR}/mbedtls-config.h" |
60 ${SED_EXE} '/openthread-core-config\.h/d' >
61 openthread-mbedtls-config.h
62 MAIN_DEPENDENCY mbedtls-config.h
66 add_custom_target(openthread-mbedtls-config
67 DEPENDS openthread-mbedtls-config.h)
69 add_dependencies(ot-config openthread-mbedtls-config)
70 add_dependencies(mbedtls openthread-mbedtls-config)
71 add_dependencies(mbedx509 openthread-mbedtls-config)
72 add_dependencies(mbedcrypto openthread-mbedtls-config)
74 configure_file(mbedtls-config.h openthread-mbedtls-config.h COPYONLY)
77 target_include_directories(ot-config
86 $<TARGET_PROPERTY:ot-config,INTERFACE_COMPILE_DEFINITIONS>
93 $<TARGET_PROPERTY:ot-config,INTERFACE_INCLUDE_DIRECTORIES>
100 $<TARGET_PROPERTY:ot-config,INTERFACE_COMPILE_DEFINITIONS>
107 $<TARGET_PROPERTY:ot-config,INTERFACE_INCLUDE_DIRECTORIES>
114 $<TARGET_PROPERTY:ot-config,INTERFACE_COMPILE_DEFINITIONS>
121 $<TARGET_PROPERTY:ot-config,INTERFACE_INCLUDE_DIRECTORIES>