<noinclude>{{Header}}</noinclude> <div class="toccolours mw-collapsible mw-collapsed"> It is possible to add build configuration files snippets which can change build variables. <div class="mw-collapsible-content"> <u>Build Configuration Folders</u>: You can drop configuration file either in: # <code>buildconfig.d</code> or in # <code>/etc/buildconfig-dist.d</code> # <code>../buildconfig.d</code> folder. Files should have the file extension <code>.conf</code></code>. Method 2. is recommended for users. # Contains examples. It is more difficult to use. <ref> Since you would have to either: * A) git commit your build config files, OR, * B) See chapter source code changes below. </ref> Rather use the following. # <code>sudo mkdir --parents /etc/buildconfig-dist.d</code> # When <code>/home/user/{{project_name_short}}</code> is your {{project_name_short}} source folder, you could use <code>/home/user/buildconfig.d</code> 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. <ref>This is because <code>..</code> means "one level below this folder".</ref> 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. </div> </div><noinclude>{{Footer}}</noinclude>