1set(public_include_dirs 2 "include" 3 "openthread/include") 4 5set(private_include_dirs 6 "openthread/examples/platforms" 7 "openthread/include/openthread" 8 "openthread/src" 9 "openthread/src/core" 10 "openthread/src/lib/hdlc" 11 "openthread/src/lib/spinel" 12 "openthread/src/ncp" 13 "private_include" 14 ) 15 16set(src_dirs 17 "openthread/examples/apps/cli" 18 "openthread/examples/platforms/utils" 19 "openthread/src/core/api" 20 "openthread/src/core/backbone_router" 21 "openthread/src/core/coap" 22 "openthread/src/core/common" 23 "openthread/src/core/crypto" 24 "openthread/src/core/diags" 25 "openthread/src/core/mac" 26 "openthread/src/core/meshcop" 27 "openthread/src/core/net" 28 "openthread/src/core/radio" 29 "openthread/src/core/thread" 30 "openthread/src/core/utils" 31 "openthread/src/cli" 32 "openthread/src/lib/hdlc" 33 "openthread/src/lib/spinel" 34 "openthread/src/lib/platform") 35 36set(exclude_srcs 37 "openthread/examples/apps/cli/main.c" 38 "openthread/examples/platforms/utils/logging_rtt.c" 39 "openthread/examples/platforms/utils/soft_source_match_table.c" 40 "openthread/src/core/common/extension_example.cpp") 41 42if(CONFIG_OPENTHREAD_BORDER_ROUTER) 43 list(APPEND src_dirs 44 "openthread/src/core/border_router") 45endif() 46 47set_source_files_properties("openthread/src/core/net/srp_server.cpp" 48 PROPERTIES COMPILE_FLAGS 49 -Wno-maybe-uninitialized) 50 51if(CONFIG_OPENTHREAD_FTD) 52 set(device_type "OPENTHREAD_FTD=1") 53endif() 54