CMakeLists.txt 658 B

1234567891011121314
  1. cmake_minimum_required(VERSION 3.5)
  2. set(EXTRA_COMPONENT_DIRS components/platform_console/app_recovery components/platform_console/app_squeezelite )
  3. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  4. add_definitions(-DMODEL_NAME=SqueezeESP32)
  5. if(NOT DEFINED DEPTH)
  6. set(DEPTH "16")
  7. endif()
  8. message(STATUS "Building RECOVERY")
  9. project(recovery)
  10. set_property(TARGET recovery.elf PROPERTY RECOVERY_PREFIX app_recovery )
  11. include(squeezelite.cmake)
  12. set(PROJECT_VER $ENV{PROJECT_VER})
  13. #target_compile_definitions(__idf_squeezelite-ota PRIVATE -DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE)
  14. #target_compile_definitions(__idf_driver_bt PRIVATE -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG)