CMakeLists.txt 726 B

1234567891011121314151617
  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. message(STATUS "Building RECOVERY")
  5. project(recovery)
  6. set_property(TARGET recovery.elf PROPERTY RECOVERY_PREFIX app_recovery )
  7. include(squeezelite.cmake)
  8. set(PROJECT_VER $ENV{PROJECT_VER})
  9. #target_compile_definitions(__idf_squeezelite-ota PRIVATE DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE)
  10. #target_compile_definitions(__idf_driver_bt PRIVATE DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE)
  11. target_compile_definitions(__idf_main PUBLIC MODEL_NAME=SqueezeESP32)
  12. target_compile_definitions(__idf_platform_console PUBLIC MODEL_NAME=SqueezeESP32)