mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
11 lines
375 B
CMake
11 lines
375 B
CMake
target_include_directories(${COMPONENT_LIB} PRIVATE . include PUBLIC soc)
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC public_compat)
|
|
|
|
set(srcs "cpu_start.c" "panic_handler.c" "brownout.c")
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE ${srcs})
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
add_subdirectory(soc/${target})
|