do the files in the build directory go into source control?

Hello,

I used the nRF Connect plugin for VCS to create a Zephyr/BLE project. It appears this copies many files into the "build" directory which are required to compile the project. Normally things under "build, debug, release. ..." are artifacts of a build and are not put into source control.

What are the source code guidelines for a nRF Connect SDK based project?

TIA

Parents
  • Hi,

    There is no need to check in the build folder in source control. This is automatically generated when you build and can be discarded at any time. (The only thing you need to remember here, which is occasionally forgotten, is that any changes you do with menuconfig/guiconfig are done within the build folder. So to make persistent changes in the configuration you need to do these outside of the build folder, typically in prj.conf - see here).

    Einar

Reply
  • Hi,

    There is no need to check in the build folder in source control. This is automatically generated when you build and can be discarded at any time. (The only thing you need to remember here, which is occasionally forgotten, is that any changes you do with menuconfig/guiconfig are done within the build folder. So to make persistent changes in the configuration you need to do these outside of the build folder, typically in prj.conf - see here).

    Einar

Children
Related