esp-who/components/modules/CMakeLists.txt

41 lines
1.0 KiB
CMake
Raw Normal View History

2021-09-08 20:04:59 +08:00
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
2021-10-20 20:22:14 +08:00
button
web
2021-11-26 20:03:10 +08:00
trace
imu)
2021-09-08 20:04:59 +08:00
set(include_dirs
ai
camera
lcd
led
2021-10-20 20:22:14 +08:00
button
web
2021-11-26 20:03:10 +08:00
trace
imu)
2021-09-08 20:04:59 +08:00
set(requires esp32-camera
esp-dl
bus
esp_http_server
nvs_flash
mdns
esp_adc
esp_lcd
esp_timer
esp_wifi
2021-09-08 20:04:59 +08:00
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)