mongoose/examples/esp32/device-dashboard/main/CMakeLists.txt

11 lines
486 B
CMake
Raw Normal View History

2020-12-14 20:58:27 +08:00
idf_component_register(SRCS "main.c"
"wifi.c"
2022-06-08 20:54:20 +08:00
"net.c"
"packed_fs.c"
2021-11-11 22:21:52 +08:00
"mongoose.c")
2021-07-29 21:21:20 +08:00
component_compile_options(-DMG_ENABLE_LINES)
2022-06-08 20:54:20 +08:00
component_compile_options(-DMG_ENABLE_PACKED_FS)
2023-05-27 01:43:36 +08:00
component_compile_options(-DHTTP_URL="http://0.0.0.0:80")
component_compile_options(-DHTTPS_URL="https://0.0.0.0:443")
component_compile_options(-DMG_ENABLE_MBEDTLS=0) # change to '1' to enable TLS