{{Header}}
It is possible to add build configuration files snippets which can change build variables.
Build Configuration Folders: You can drop configuration file either in: # buildconfig.d or in # /etc/buildconfig-dist.d # ../buildconfig.d folder. Files should have the file extension .conf. Method 2. is recommended for users. # Contains examples. It is more difficult to use. Since you would have to either: * A) git commit your build config files, OR, * B) See chapter source code changes below. Rather use the following. # sudo mkdir --parents /etc/buildconfig-dist.d # When /home/user/{{project_name_short}} is your {{project_name_short}} source folder, you could use /home/user/buildconfig.d as your {{project_name_short}} build configuration folder. It is easier to use, since you don't have to git commit your build config files. This is because .. means "one level below this folder". Below is an example how to use method 2. {{CodeSelect|code= sudo mkdir /etc/buildconfig-dist.d }} {{Open_with_root_rights| filename=/etc/buildconfig-dist.d/50_user.conf }} Add. (Replace it with whatever build configuration variable you wish to set.) Example 1. {{CodeSelect|code= export DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable' }} Example 2. {{CodeSelect|code= export tbb_version=13.0.1 }} Save. Done.
{{Footer}}