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.
12 lines
255 B
CMake
12 lines
255 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_REQUIRES)
|
|
register_component()
|
|
|
|
target_link_libraries(cxx stdc++)
|
|
|
|
target_link_libraries(cxx "-u __cxa_guard_dummy")
|
|
|
|
if(NOT CONFIG_CXX_EXCEPTIONS)
|
|
target_link_libraries(cxx "-u __cxx_fatal_exception")
|
|
endif()
|