Browse Source

Restore make file - release

Sebastien 4 years ago
parent
commit
ba786a62f7
1 changed files with 15 additions and 0 deletions
  1. 15 0
      CMakeLists.txt

+ 15 - 0
CMakeLists.txt

@@ -0,0 +1,15 @@
+cmake_minimum_required(VERSION 3.5)
+set(EXTRA_COMPONENT_DIRS components/platform_console/app_recovery components/platform_console/app_squeezelite  )
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+
+message(STATUS  "Building RECOVERY")
+project(recovery)
+set_property(TARGET recovery.elf PROPERTY RECOVERY_PREFIX app_recovery )
+
+include(squeezelite.cmake)
+
+
+set(PROJECT_VER $ENV{PROJECT_VER})
+   
+#target_compile_definitions(__idf_squeezelite-ota PRIVATE -DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE)
+#target_compile_definitions(__idf_driver_bt PRIVATE -DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE)