CMakelists.txt 743 B

12345678910111213141516171819
  1. # This is the project CMakeLists.txt file for the test subproject
  2. cmake_minimum_required(VERSION 3.5)
  3. # Include the components directory of the main application:
  4. #
  5. set(EXTRA_COMPONENT_DIRS "../components")
  6. # Set the components to include the tests for.
  7. # This can be overriden from CMake cache:
  8. # - when invoking CMake directly: cmake -D TEST_COMPONENTS="xxxxx" ..
  9. # - when using idf.py: idf.py -T xxxxx build
  10. #
  11. set(TEST_COMPONENTS "platform_console" CACHE STRING "List of components to test")
  12. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  13. project(squeezelite_esp32_test)
  14. add_definitions(-include "${PROJECT_SOURCE_DIR}/../build/config/sdkconfig.h")
  15. set_property(TARGET squeezelite_esp32_test.elf PROPERTY RECOVERY_PREFIX app_update )