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,

    The nRF connect SDK relies on CMake-generated files to identify and manage builds. vscode-nrf-connect.json contains settings related to the build in the context of Visual Studio Code and nRF Connect for VS Code. However, this file alone is not enough without the CMake-generated files. CMakeCache.txt contains all the CMake configuration options and settings for the build. nRF Connect SDK uses it to understand what has been configured and generated for the project.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    The nRF connect SDK relies on CMake-generated files to identify and manage builds. vscode-nrf-connect.json contains settings related to the build in the context of Visual Studio Code and nRF Connect for VS Code. However, this file alone is not enough without the CMake-generated files. CMakeCache.txt contains all the CMake configuration options and settings for the build. nRF Connect SDK uses it to understand what has been configured and generated for the project.

    Kind Regards,

    Abhijith

Children
Related