The project is based on ESP-IDF v4. It can be built for several platforms.
Currently I'm trying to enable full out-of-source build approach and sdkconfig is the only auto-generated file that remains in the source tree. By default it is saved in the root directory of a cmake project.
Is there any way to change the default location of sdkconfig file?
You can use the
SDKCONFIGvariable to set the path you need.Set it in your
CMakeLists.txtfile like this :set(SDKCONFIG "C:/path/to/your/folder/sdkconfig")