Skip to content

PreventBuildingOfEverything

Mats Wichmann edited this page Nov 11, 2019 · 2 revisions

Suppose you have a big hierarchical tree of projects. If someone accidentally enters:

scons

it will build every project in that tree. If you want to ensure that they meant to build everything, add this to the SConstruct file:

# prevent accidental building of everything
Default(None)

If someone does want to build every project, they must do so explicitly by:

scons .
Clone this wiki locally