esp-idf/components/soc/CMakeLists.txt
Angus Gratton 1cb5712463 cmake: Add component dependency support
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
2018-04-30 09:59:20 +10:00

10 lines
163 B
CMake

set(SOC_NAME esp32)
set(COMPONENT_SRCDIRS ${SOC_NAME})
set(COMPONENT_ADD_INCLUDEDIRS ${SOC_NAME}/include include)
set(COMPONENT_REQUIRES)
register_component()