CMakeLists.txt 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. # Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL").
  2. # All rights reserved.
  3. #
  4. add_subdirectory_if_exist(init)
  5. add_subdirectory_if_exist(nw)
  6. add_subdirectory_if_exist(peripheral)
  7. add_subdirectory_if_exist(osi)
  8. add_subdirectory_if_exist(dev)
  9. add_subdirectory_if_exist(power)
  10. if(QL_APP_FEATURE_USB)
  11. add_subdirectory_if_exist(usb)
  12. endif()
  13. add_subdirectory_if_exist(qnewlib)
  14. if(QL_APP_FEATURE_FILE)
  15. add_subdirectory_if_exist(fs)
  16. endif()
  17. if(QL_APP_FEATURE_AUDIO)
  18. add_subdirectory_if_exist(audio)
  19. if(QL_APP_FEATURE_TTS)
  20. add_subdirectory_if_exist(tts)
  21. endif()
  22. endif()
  23. if(QL_APP_FEATURE_BT)
  24. add_subdirectory_if_exist(bt)
  25. endif()
  26. if(QL_APP_FEATURE_GNSS)
  27. add_subdirectory_if_exist(gnss)
  28. else()
  29. if(QL_APP_FEATURE_HD_GNSS)
  30. add_subdirectory_if_exist(gnss)
  31. endif()
  32. endif()
  33. if(QL_APP_FEATURE_FTP)
  34. add_subdirectory_if_exist(ftp)
  35. endif()
  36. if(QL_APP_FEATURE_HTTP)
  37. add_subdirectory_if_exist(http)
  38. endif()
  39. if(QL_APP_FEATURE_MMS)
  40. add_subdirectory_if_exist(mms)
  41. endif()
  42. if(QL_APP_FEATURE_MQTT)
  43. add_subdirectory_if_exist(mqtt)
  44. endif()
  45. if(QL_APP_FEATURE_FIREWALL)
  46. add_subdirectory_if_exist(firewall)
  47. endif()
  48. if(QL_APP_FEATURE_SSL)
  49. add_subdirectory_if_exist(ssl)
  50. endif()
  51. if(QL_APP_FEATURE_STK)
  52. add_subdirectory_if_exist(stk)
  53. endif()
  54. if(QL_APP_FEATURE_PING)
  55. add_subdirectory_if_exist(ping)
  56. endif()
  57. if(QL_APP_FEATURE_NTP)
  58. add_subdirectory_if_exist(ntp)
  59. endif()
  60. if(QL_APP_FEATURE_LBS)
  61. add_subdirectory_if_exist(lbs)
  62. endif()
  63. if(QL_APP_FEATURE_QTHSDK)
  64. add_subdirectory_if_exist(qthsdk)
  65. endif()
  66. if(QL_APP_FEATURE_CTSREG)
  67. add_subdirectory_if_exist(ctsreg)
  68. endif()
  69. if(QL_APP_FEATURE_SOCKET)
  70. add_subdirectory_if_exist(socket)
  71. endif()
  72. if(QL_APP_FEATURE_LCD)
  73. add_subdirectory_if_exist(lcd)
  74. endif()
  75. if(QL_APP_FEATURE_LVGL)
  76. add_subdirectory_if_exist(lvgl_lib)
  77. add_subdirectory_if_exist(lvgl)
  78. endif()
  79. if(QL_APP_FEATURE_CAMERA)
  80. add_subdirectory_if_exist(camera)
  81. endif()
  82. if(QL_APP_FEATURE_WIFISCAN)
  83. add_subdirectory_if_exist(wifi_scan)
  84. endif()
  85. if(QL_APP_FEATURE_SIM)
  86. add_subdirectory_if_exist(sim)
  87. endif()
  88. if(QL_APP_FEATURE_VSIM_ADAPT)
  89. add_subdirectory_if_exist(vsim_adapt)
  90. endif()
  91. if(QL_APP_FEATURE_SMS)
  92. add_subdirectory_if_exist(sms)
  93. endif()
  94. if(QL_APP_FEATURE_VOICE_CALL)
  95. add_subdirectory_if_exist(voice_call)
  96. endif()
  97. if(QL_APP_FEATURE_VOLTE)
  98. add_subdirectory_if_exist(volte)
  99. endif()
  100. if(QL_APP_FEATURE_SPI)
  101. add_subdirectory_if_exist(spi)
  102. endif()
  103. if(QL_APP_FEATURE_SPI_NOR_FLASH)
  104. add_subdirectory_if_exist(spi_nor_flash)
  105. endif()
  106. if(QL_APP_FEATURE_SPI4_EXT_NOR_SFFS)
  107. add_subdirectory_if_exist(spi4_ext_nor_sffs)
  108. endif()
  109. if(QL_APP_FEATURE_SPI6_EXT_NOR)
  110. add_subdirectory_if_exist(spi6_ext_nor_flash)
  111. endif()
  112. if(QL_APP_FEATURE_SPI_NAND_FLASH)
  113. add_subdirectory_if_exist(spi_nand_flash)
  114. endif()
  115. if(QL_APP_FEATURE_HTTP_FOTA)
  116. add_subdirectory_if_exist(http_fota)
  117. endif()
  118. if(QL_APP_FEATURE_FTP_FOTA)
  119. add_subdirectory_if_exist(ftp_fota)
  120. endif()
  121. if(QL_APP_FEATURE_DECODER)
  122. add_subdirectory_if_exist(decoder)
  123. endif()
  124. if(QL_APP_FEATURE_APP_IMG_AT)
  125. add_subdirectory_if_exist(app_img_at)
  126. endif()
  127. if(QL_APP_FEATURE_RTC)
  128. add_subdirectory_if_exist(rtc)
  129. endif()
  130. if(QL_APP_FEATURE_VIRT_AT)
  131. add_subdirectory_if_exist(virt_at)
  132. endif()
  133. if(QL_APP_FEATURE_ALI_LINKSDK)
  134. add_subdirectory_if_exist(LinkSDK)
  135. endif()
  136. if(QL_APP_FEATURE_QCLOUD_IOT)
  137. add_subdirectory_if_exist(qcloud-iot)
  138. endif()
  139. if(QL_APP_FEATURE_I2C)
  140. add_subdirectory_if_exist(i2c)
  141. endif()
  142. if(QL_APP_FEATURE_SDMMC)
  143. add_subdirectory_if_exist(sdmmc)
  144. endif()
  145. if(QL_APP_FEATURE_USBNET)
  146. add_subdirectory_if_exist(usbnet)
  147. endif()
  148. if(QL_APP_FEATURE_FS_NAND_FLASH)
  149. add_subdirectory_if_exist(fs_nand_flash)
  150. endif()
  151. if(QL_APP_FEATURE_FS_NOR_FLASH)
  152. add_subdirectory_if_exist(fs_nor_flash)
  153. endif()
  154. if(QL_APP_FEATURE_FILE_ZIP)
  155. add_subdirectory_if_exist(zip)
  156. endif()
  157. if(QL_APP_FEATURE_SFTP)
  158. add_subdirectory_if_exist(sftp)
  159. endif()
  160. if(QL_APP_FEATURE_MXML)
  161. add_subdirectory_if_exist(mxml)
  162. endif()
  163. if(QL_APP_FEATURE_CLOUDOTA)
  164. add_subdirectory_if_exist(cloud_ota)
  165. endif()
  166. if(QL_APP_FEATURE_HILINK)
  167. add_subdirectory_if_exist(HiLinkSDK)
  168. endif()
  169. if(QL_APP_FEATURE_EMBED_NOR_FLASH)
  170. add_subdirectory_if_exist(embed_nor_flash)
  171. endif()
  172. if(QL_APP_FEATURE_EXT_NOR_FLASH)
  173. add_subdirectory_if_exist(ext_nor_flash)
  174. endif()
  175. if(QL_APP_FEATURE_GPRS_DATA_TRANSFER)
  176. add_subdirectory_if_exist(gprs_data_transfer)
  177. endif()
  178. if(QL_APP_FEATURE_TP)
  179. add_subdirectory_if_exist(tp)
  180. endif()
  181. if(QL_APP_FEATURE_ALIOTSMARTCARD)
  182. add_subdirectory_if_exist(aliotsmartcard)
  183. endif()
  184. if (QL_APP_FEATURE_ALIPAY_IOT_SDK)
  185. add_subdirectory_if_exist(alipay_iot_sdk)
  186. endif()
  187. if(QL_APP_FEATURE_NTRIP_RTK)
  188. add_subdirectory_if_exist(ntrip_rtk)
  189. endif()
  190. if(QL_APP_FEATURE_WEBSOCKET)
  191. add_subdirectory_if_exist(libwebsockets)
  192. endif()
  193. if(QL_APP_FEATURE_ETHERNET)
  194. add_subdirectory_if_exist(ethernet)
  195. endif()
  196. if(QL_APP_FEATURE_APPIMG2)
  197. add_subdirectory_if_exist(appimg2_init)
  198. endif()
  199. if(QL_APP_FEATURE_WIFI)
  200. add_subdirectory_if_exist(wifi)
  201. endif()
  202. if(HC_APP_FEATURE_MOID8ID)
  203. add_subdirectory_if_exist(mod8id_sdk)
  204. endif()