I am using NRF Connect SDK 2.3.0 with corresponding toolchain and VS Code with latest extensions.
I have created applications outside of the NCS hierarchy and would like to avoid modifying files in NCS.
In my project I have multiple build configurations. Each build configuration has different combination of configuration overlay files.
I need to also provide various configuration overlay files to the child images especially MCUBOOT.
I have been able to do this with Extra CMake arguments -Dmcuboot_OVERLAY_CONFIG="/absolute_path/that/is/specific/to/my/git/clone" however I want to avoid using absolute paths since they won't work correctly if i git clone into a different location.
Is there anyway I can pass build configuration specific child image configuration files from the project without using an absolute path?
Actually on additional inspection, I also noticed that the generated CmakeCache.txt is full of absolute paths... so its completely unsuitable for sharing with another developer via git.
What is the best approach for constructing a project with multiple builds that I can share with other collaborators? Should I edit the generated file and replace the absolute paths ?
After I change CMakeCache.txt is there a step to regenerate things?