Add default include dirs to global scope for ESP-IDF

This commit is contained in:
valeros
2020-03-05 23:58:46 +02:00
parent 0f7d2de7e2
commit 80663faa6e
+8
View File
@@ -778,6 +778,14 @@ framework_components_map = get_components_map(
target_configs, ["STATIC_LIBRARY", "OBJECT_LIBRARY"], [project_target_name]
)
# Add default include dirs to global CPPPATH so they're visible to all components
env.Append(
CPPPATH=[
"$PROJECT_SRC_DIR",
"$PROJECT_INCLUDE_DIR"
]
)
build_components(env, framework_components_map, env.subst("$PROJECT_DIR"))
if not elf_config: