3.1.1. waf_tools.all_commands

Implement a ‘build_all’ and its counterpart ‘clean_all’ commands.

The actual ‘build_all’ and ‘clean_all’ commands are derived from two lists named ‘BUILD_VARIANTS’ and ‘CLEAN_VARIANTS’ respectively, that need to be defined in the top-level wscript. The fall back options are ‘build’ and ‘clean’ respectively.

This module must be loaded in the ‘options’ method.

Functions

build_all(_)

builds all variants

clean_all(_)

cleans all variants

Classes

BuildAllContext(**kw)

Build all targets

CleanAllContext(**kw)

Clean all targets