kopia lustrzana https://github.com/espressif/esp-idf
7 wiersze
349 B
CMake
7 wiersze
349 B
CMake
idf_component_register(SRCS "test_main.c"
|
|
INCLUDE_DIRS ".")
|
|
|
|
# Update include path to not include the directory, i.e. "task.h" instead of "freertos/task.h"
|
|
idf_component_get_property(FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH)
|
|
target_include_directories(${COMPONENT_TARGET} PRIVATE "${FREERTOS_ORIG_INCLUDE_PATH}")
|