CMakeLists.txt 579 B

1234567891011121314
  1. set( WEBPACK_DIR webapp/webpack/dist )
  2. # for the forgetful, REQUIRES cannot use CONFIG_XXX due to parsing order
  3. if(IDF_TARGET STREQUAL "esp32")
  4. set(target_requires "driver_bt")
  5. endif()
  6. idf_component_register( SRC_DIRS . webapp UML-State-Machine-in-C/src
  7. INCLUDE_DIRS . webapp UML-State-Machine-in-C/src
  8. REQUIRES squeezelite-ota json mdns
  9. PRIV_REQUIRES tools services platform_config esp_common json newlib freertos spi_flash nvs_flash mdns pthread wpa_supplicant platform_console esp_http_server console ${target_requires}
  10. )
  11. include(webapp/webapp.cmake)