mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-25 00:57:49 +08:00
11 lines
495 B
CMake
11 lines
495 B
CMake
idf_component_register(SRCS "main.c"
|
|
"wifi.c"
|
|
"net.c"
|
|
"packed_fs.c"
|
|
"mongoose.c")
|
|
component_compile_options(-DMG_ENABLE_LINES)
|
|
component_compile_options(-DMG_ENABLE_PACKED_FS)
|
|
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_TLS=MG_TLS_NONE) # change to 'MG_TLS_MBED' to enable TLS
|