esp-who/components/modules/CMakeLists.txt

41 lines
1.0 KiB
CMake

set(embed_files "web/www/index_ov2640.html.gz"
"web/www/index_ov3660.html.gz"
"web/www/index_ov5640.html.gz"
"web/www/monitor.html.gz")
set(src_dirs
ai
camera
lcd
led
button
web
trace
imu)
set(include_dirs
ai
camera
lcd
led
button
web
trace
imu)
set(requires esp32-camera
esp-dl
bus
esp_http_server
nvs_flash
mdns
esp_adc
esp_lcd
esp_timer
esp_wifi
fb_gfx)
idf_component_register(SRC_DIRS ${src_dirs} INCLUDE_DIRS ${include_dirs} REQUIRES ${requires} EMBED_FILES ${embed_files})
component_compile_options(-ffast-math -O3 -Wno-error=format=-Wno-format)