Home | Trees | Indices | Help |
|
---|
|
engine.SCons.Variables.BoolVariable
This file defines the option type for SCons implementing true/false values.
Usage example:
opts = Variables() opts.Add(BoolVariable('embedded', 'build for an embedded system', 0)) ... if env['embedded'] == 1: ...
|
|||
|
|||
|
|||
|
|
|||
__false_strings =
|
|||
__package__ =
|
|||
__revision__ =
|
|||
__true_strings =
|
|
Converts strings to True/False depending on the 'truth' expressed by the string. If the string can't be converted, the original value will be returned. See '__true_strings' and '__false_strings' for values considered 'true' or 'false respectively. This is usable as 'converter' for SCons' Variables. |
Validates the given value to be either '0' or '1'. This is usable as 'validator' for SCons' Variables. |
|
__revision__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 23 17:31:32 2019 | http://epydoc.sourceforge.net |