Copy components in new dir when building
Posted: Mon Dec 21, 2020 8:43 am
Hi,
I want to modify some esp-idf components for a specific project and dont change the sdk's original component. The perfect way for me would be to :
- Build the project; The usefull esp-idf includes components are cloned in a new project's directory.
- Modifiy the cloned components as i want.
- Rebuild the project , not from the original components but from the modified ones from my cloned components.
I am a bit struggling with CMake. I found that we can list the components with idf_build_get_property(COMPONENTS). Is there a simple way or tool to do this ? Or a better solution ?
Thank you for your time,
Tibi
I want to modify some esp-idf components for a specific project and dont change the sdk's original component. The perfect way for me would be to :
- Build the project; The usefull esp-idf includes components are cloned in a new project's directory.
- Modifiy the cloned components as i want.
- Rebuild the project , not from the original components but from the modified ones from my cloned components.
I am a bit struggling with CMake. I found that we can list the components with idf_build_get_property(COMPONENTS). Is there a simple way or tool to do this ? Or a better solution ?
Thank you for your time,
Tibi