CMakeLists.txt 512 B

1234567891011121314151617
  1. # This is the project CMakeLists.txt file for the test subproject
  2. cmake_minimum_required(VERSION 3.16)
  3. set(EXTRA_COMPONENT_DIRS
  4. "$ENV{IDF_PATH}/tools/unit-test-app/components"
  5. )
  6. # "Trim" the build. Include the minimal set of components, main, and anything it depends on.
  7. set(COMPONENTS main)
  8. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  9. if($ENV{CI_PIPELINE_ID})
  10. idf_build_set_property(COMPILE_DEFINITIONS TEST_SUFFIX_STR="_$ENV{CI_PIPELINE_ID}" APPEND)
  11. endif()
  12. project(test_temperature_sensor)