Merge branch 'bugfix/allow_extra_component_in_unit_test' into 'master'

allow unit test of extra-components

Closes IDFGH-3369

See merge request espressif/esp-idf!8906
This commit is contained in:
Angus Gratton 2020-06-10 16:10:07 +08:00
commit 9a21b7e397

View file

@ -2,8 +2,8 @@
# CMakeLists in this exact order for cmake to work correctly # CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/" list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/"
"$ENV{IDF_PATH}/examples/peripherals/rmt/ir_protocols/components") "$ENV{IDF_PATH}/examples/peripherals/rmt/ir_protocols/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake) include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(unit-test-app) project(unit-test-app)