Files needed for nRF Connect SDK to detect builds

Hi,

What files are needed for nRF Connect SDK to detect a "build"? "build" folders are excluded from the Git repository by default, but I'd like to include the build info (minimal files necessary) in my repository. It looked to me like .vscode-nrf-connect.json contains all the info needed, but with only this file nRF Connect SDK does not detect the build - which other files are needed?

Thank You

Parents
  • Hello,

    You’re right, CMakeCache.txt contains absolute paths, making it non-portable when the repository is cloned to a different location. This is a common issue with CMake files. Could we add a setup script to the repository that automatically runs the CMake generation step (e.g., cmake .. from the build directory) using the configuration from .vscode-nrf-connect.json?

    Kind Regards,

    Abhijith

Reply
  • Hello,

    You’re right, CMakeCache.txt contains absolute paths, making it non-portable when the repository is cloned to a different location. This is a common issue with CMake files. Could we add a setup script to the repository that automatically runs the CMake generation step (e.g., cmake .. from the build directory) using the configuration from .vscode-nrf-connect.json?

    Kind Regards,

    Abhijith

Children
No Data
Related