esp-who/components/modules/CMakeLists.txt

37 lines
942 B
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
trace)
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
trace)
2021-09-08 20:04:59 +08:00
set(requires esp32-camera
esp-dl
bus
screen
esp_http_server
nvs_flash
mdns
2021-10-20 20:22:14 +08:00
esp_adc_cal
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)