CMakeLists.txt 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. add_subdirectory_if_exist(common)
  12. add_subdirectory_if_exist(dev)
  13. add_subdirectory_if_exist(drivers)
  14. if(CONFIG_QUEC_PROJECT_FEATURE_ADC)
  15. add_subdirectory_if_exist(adc)
  16. endif()
  17. if(CONFIG_QUEC_PROJECT_FEATURE_GNSS)
  18. add_subdirectory_if_exist(gnss)
  19. add_subdirectory_if_exist(gnss_aux)
  20. endif()
  21. add_subdirectory_if_exist(decoder)
  22. if(CONFIG_QUEC_PROJECT_FEATURE_FOTA)
  23. add_subdirectory_if_exist(fota)
  24. endif()
  25. if(CONFIG_QUEC_PROJECT_FEATURE_FILE)
  26. add_subdirectory_if_exist(fs)
  27. add_subdirectory_if_exist(nvitem)
  28. endif()
  29. add_subdirectory_if_exist(network)
  30. add_subdirectory_if_exist(osi)
  31. if(CONFIG_QUEC_PROJECT_FEATURE_SIM)
  32. add_subdirectory_if_exist(sim)
  33. endif()
  34. if(CONFIG_QUEC_PROJECT_FEATURE_VSIM_ADAPT)
  35. add_subdirectory_if_exist(vsim_adapt)
  36. endif()
  37. if(CONFIG_QUEC_PROJECT_FEATURE_FTP)
  38. add_subdirectory_if_exist(ftp)
  39. endif()
  40. if(CONFIG_QUEC_PROJECT_FEATURE_AUDIO)
  41. add_subdirectory_if_exist(audio)
  42. add_subdirectory_if_exist(codec)
  43. endif()
  44. if(CONFIG_QUEC_PROJECT_FEATURE_HTTP)
  45. add_subdirectory_if_exist(http)
  46. endif()
  47. if(CONFIG_QUEC_PROJECT_FEATURE_MQTT)
  48. add_subdirectory_if_exist(mqtt)
  49. endif()
  50. #add_subdirectory_if_exist(third_party)
  51. if(CONFIG_QUEC_PROJECT_FEATURE_BT)
  52. add_subdirectory_if_exist(bt)
  53. endif()
  54. add_subdirectory_if_exist(power)
  55. if(CONFIG_QUEC_PROJECT_FEATURE_SMS)
  56. add_subdirectory_if_exist(sms)
  57. endif()
  58. if(CONFIG_QUEC_PROJECT_FEATURE_VOICE_CALL)
  59. add_subdirectory_if_exist(voice_call)
  60. endif()
  61. if(CONFIG_QUEC_PROJECT_FEATURE_SPI)
  62. add_subdirectory_if_exist(spi)
  63. endif()
  64. if(CONFIG_QUEC_PROJECT_FEATURE_SPI_FLASH)
  65. add_subdirectory_if_exist(spi_flash)
  66. endif()
  67. if(CONFIG_QUEC_PROJECT_FEATURE_SPI_NOR_FLASH)
  68. add_subdirectory_if_exist(spi_nor_flash)
  69. endif()
  70. if(CONFIG_QUEC_PROJECT_FEATURE_SPI4_EXT_NOR_SFFS)
  71. add_subdirectory_if_exist(spi4_ext_nor_sffs)
  72. endif()
  73. if(CONFIG_QUEC_PROJECT_FEATURE_SPI6_EXT_NOR)
  74. add_subdirectory_if_exist(spi6_ext_nor_flash)
  75. endif()
  76. if(CONFIG_QUEC_PROJECT_FEATURE_SPI_NAND_FLASH)
  77. add_subdirectory_if_exist(spi_nand_flash)
  78. endif()
  79. if(CONFIG_QUEC_PROJECT_FEATURE_SPI6_NAND_FLASH)
  80. add_subdirectory_if_exist(spi6_nand_flash)
  81. endif()
  82. if(CONFIG_QUEC_PROJECT_FEATURE_CAMERA)
  83. add_subdirectory_if_exist(camera)
  84. endif()
  85. if(CONFIG_QUEC_PROJECT_FEATURE_RTC)
  86. add_subdirectory_if_exist(rtc)
  87. endif()
  88. if(CONFIG_QUEC_PROJECT_FEATURE_VIRT_AT)
  89. add_subdirectory_if_exist(virt_at)
  90. endif()
  91. if(CONFIG_QUEC_PROJECT_FEATURE_TTS)
  92. add_subdirectory_if_exist(tts)
  93. endif()
  94. if(CONFIG_QUEC_PROJECT_FEATURE_RTK)
  95. add_subdirectory_if_exist(qxrtk)
  96. endif()
  97. if(CONFIG_QUEC_PROJECT_FEATURE_PBK)
  98. add_subdirectory_if_exist(phonebook)
  99. endif()
  100. if((CONFIG_QUEC_PROJECT_FEATURE_STK) OR (CONFIG_QUEC_PROJECT_FEATURE_BIP))
  101. add_subdirectory_if_exist(stk)
  102. endif()
  103. add_subdirectory_if_exist(boot_ex)
  104. if(CONFIG_QUEC_PROJECT_FEATURE_SDMMC OR CONFIG_QUEC_PROJECT_FEATURE_EMMC OR CONFIG_QUEC_PROJECT_FEATURE_SDMMC2 OR CONFIG_QUEC_PROJECT_FEATURE_EMMC2)
  105. add_subdirectory_if_exist(sdmmc)
  106. endif()
  107. if(CONFIG_QUEC_PROJECT_FEATURE_WIFISCAN)
  108. add_subdirectory_if_exist(wifiscan)
  109. endif()
  110. if(CONFIG_QUEC_PROJECT_FEATURE_USB)
  111. add_subdirectory_if_exist(usb)
  112. endif()
  113. if(CONFIG_QUEC_PROJECT_FEATURE_UART)
  114. add_subdirectory_if_exist(uart)
  115. endif()
  116. if(CONFIG_QUEC_PROJECT_FEATURE_LEDCFG)
  117. add_subdirectory_if_exist(pwm)
  118. endif()
  119. if(CONFIG_QUEC_PROJECT_FEATURE_LCD)
  120. add_subdirectory_if_exist(lcd)
  121. endif()
  122. if(CONFIG_QUEC_PROJECT_FEATURE_KEYPAD)
  123. add_subdirectory_if_exist(keypad)
  124. endif()
  125. if(CONFIG_QUEC_PROJECT_FEATURE_I2C)
  126. add_subdirectory_if_exist(i2c)
  127. endif()
  128. if(CONFIG_QUEC_PROJECT_FEATURE_GPIO)
  129. add_subdirectory_if_exist(gpio)
  130. endif()
  131. if(CONFIG_QUEC_PROJECT_FEATURE_USBNET)
  132. add_subdirectory_if_exist(usbnet)
  133. endif()
  134. if(CONFIG_QUEC_PROJECT_FEATURE_FS_NAND_FLASH)
  135. add_subdirectory_if_exist(fs_nand_flash)
  136. endif()
  137. if(CONFIG_QUEC_PROJECT_FEATURE_FS_NOR_FLASH)
  138. add_subdirectory_if_exist(fs_nor_flash)
  139. endif()
  140. if (CONFIG_QUEC_PROJECT_FEATURE_FILE_ZIP)
  141. add_subdirectory_if_exist(zip)
  142. endif()
  143. if (CONFIG_QUEC_PROJECT_FEATURE_CLOUDOTA)
  144. add_subdirectory_if_exist(quec_cloud_ota)
  145. endif()
  146. if (CONFIG_QUEC_PROJECT_FEATURE_SMTP)
  147. add_subdirectory_if_exist(smtp)
  148. endif()
  149. if (CONFIG_QUEC_PROJECT_FEATURE_GPRS_DATA_TRANSFER)
  150. add_subdirectory_if_exist(gprs_data_transfer)
  151. endif()
  152. if (CONFIG_QUEC_PROJECT_FEATURE_TP)
  153. add_subdirectory_if_exist(tp)
  154. endif()
  155. if (CONFIG_QUEC_PROJECT_FEATURE_ALIIOTSMARTCARD)
  156. add_subdirectory_if_exist(aliotsmartcard)
  157. endif()
  158. if (CONFIG_QUEC_PROJECT_FEATURE_ALIPAY_IOT_SDK)
  159. add_subdirectory_if_exist(alipay_iot_sdk)
  160. endif()
  161. if (CONFIG_QUEC_PROJECT_FEATURE_MAYILIAN)
  162. add_subdirectory_if_exist(mayilian)
  163. endif()
  164. if (CONFIG_QUEC_PROJECT_FEATURE_MAYILIAN)
  165. add_subdirectory_if_exist(mayilian)
  166. endif()
  167. if (CONFIG_QUEC_PROJECT_FEATURE_HW_IOT_DEVICE_SDK)
  168. add_subdirectory_if_exist(hw_iot_device_sdk_tiny)
  169. endif()
  170. if (CONFIG_QUEC_PROJECT_FEATURE_ETHERNET)
  171. add_subdirectory_if_exist(ethernet)
  172. endif()
  173. if (CONFIG_QUEC_PROJECT_FEATURE_WEBSOCKET)
  174. add_subdirectory_if_exist(libwebsockets)
  175. endif()
  176. if (CONFIG_QUEC_PROJECT_FEATURE_FIREWALL)
  177. add_subdirectory_if_exist(firewall)
  178. endif()
  179. if (CONFIG_QUEC_PROJECT_FEATURE_WIFI)
  180. add_subdirectory_if_exist(wifi)
  181. endif()
  182. add_subdirectory_if_exist(ql_at)
  183. add_subdirectory_if_exist(virt_func)
  184. add_subdirectory_if_exist(volte)