CMakeLists.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. # All rights reserved.
  3. #
  4. # This software is supplied "AS IS" without any warranties.
  5. # RDA assumes no responsibility or liability for the use of the software,
  6. # conveys no license or title under any patent, copyright, or mask work
  7. # right to the product. RDA reserves the right to make changes in the
  8. # software without notification. RDA also make no representation or
  9. # warranty that such application will be suitable for the specified use
  10. # without further testing or modification.
  11. configure_file(include/net_config.h.in ${out_inc_dir}/net_config.h)
  12. set(target net)
  13. include(core.cmake)
  14. add_subdirectory_if_exist(lwip)
  15. if (NOT CONFIG_QUEC_PROJECT_FEATURE)
  16. add_subdirectory_if_exist(libmqttsn)
  17. add_subdirectory_if_exist(libcoap)
  18. endif()
  19. add_subdirectory_if_exist(json)
  20. if (CONFIG_QUEC_PROJECT_FEATURE_SSL)
  21. add_subdirectory_if_exist(mbedtls)
  22. endif()
  23. if (NOT CONFIG_QUEC_PROJECT_FEATURE)
  24. add_subdirectory_if_exist(libexpat)
  25. add_subdirectory_if_exist(edp)
  26. add_subdirectory_if_exist(http)
  27. add_subdirectory_if_exist(mupnp)
  28. add_subdirectory_if(CONFIG_NET_LWM2M_SUPPORT THEN liblwm2m)
  29. add_subdirectory_if(CONFIG_FTP_MODULE_SUPPORT THEN ftp)
  30. add_subdirectory_if_exist(aliotx)
  31. add_subdirectory_if(CONFIG_NET_CIS_SDK_SUPPORT THEN cis_sdk)
  32. add_subdirectory_if(CONFIG_NET_PAHO_MQTT_SUPPORT THEN pahomqtt)
  33. add_subdirectory_if(CONFIG_NET_ALI_SDK_SUPPORT THEN ali_c_sdk)
  34. endif()