mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1cb5712463
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
25 lines
621 B
CMake
25 lines
621 B
CMake
set(COMPONENT_SRCDIRS "." "gcov")
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
|
|
|
if(CONFIG_SYSVIEW_ENABLE)
|
|
list(APPEND COMPONENT_ADD_INCLUDEDIRS
|
|
sys_view/Config
|
|
sys_view/SEGGER
|
|
sys_view/Sample/OS)
|
|
|
|
list(APPEND COMPONENT_SRCDIRS
|
|
"sys_view/SEGGER"
|
|
"sys_view/Sample/OS"
|
|
"sys_view/Sample/Config"
|
|
"sys_view/esp32")
|
|
endif()
|
|
|
|
set(COMPONENT_REQUIRES)
|
|
set(COMPONENT_PRIV_REQUIRES xtensa-debug-module)
|
|
|
|
register_component()
|
|
|
|
# disable --coverage for this component, as it is used as transport
|
|
# for gcov
|
|
component_compile_options("-fno-profile-arcs" "-fno-test-coverage")
|