| 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 =
|
|||
__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 respectivly. 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.0beta1 on Tue Aug 12 07:32:49 2008 | http://epydoc.sourceforge.net |