Here is an example CMakeLists.txt for one of my application components:
Code: Select all
set(srcs "ca_wifi.c" "wifi_scan.c" "ble_init.c" "gatt_svr.c")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "." "../../main/include"
"../bme680/include"
"../ca_drivers/include" "../ca_sound/include"
"../mqtt/include" "../partition_mgt/include"
REQUIRES spiffs fatfs bt nvs_flash app_update esp-tls
esp_adc_cal port mqtt)