CMake with IDF as library and custom kconfig
Posted: Sat Dec 08, 2018 3:56 pm
Hi,
What's the correct way to make the CMake/IDF build system find kconfig-files when IDF is used as a library?
In my particular case, the project has the following structure:
What's the correct way to make the CMake/IDF build system find kconfig-files when IDF is used as a library?
In my particular case, the project has the following structure:
Code: Select all
<root>
|-- CMakeLists.txt
|
|---- main
| |-- CMakeLists.txt
|
|-- externals/smooth (this is a library that links against IDF via idf_import_components and idf_link_components)
|-- CMakeLists.txt
|-- kconfig (this file needs to be picked up by IDF to generate CONFIG_* in sdkconfig.h