CMake project inside custom components
Posted: Wed Mar 16, 2022 9:23 pm
Hi all
I current working setting up a project with an ESP32 using the IDF api and I want to include some pre made cmake projects but I’m a little unsure on how to structure this in a custom component as the pre made projects have its own cmakelists and I really don’t want to change the structure of the current project.
Can anyone help me on how to get started with this? I have read something about using the adding a external app to the cmakelist but I’m not sure how that should be structured.
Thank you in advance
I current working setting up a project with an ESP32 using the IDF api and I want to include some pre made cmake projects but I’m a little unsure on how to structure this in a custom component as the pre made projects have its own cmakelists and I really don’t want to change the structure of the current project.
Can anyone help me on how to get started with this? I have read something about using the adding a external app to the cmakelist but I’m not sure how that should be structured.
Thank you in advance