wtools 4.0.0-pre7
ESO waf tools
Loading...
Searching...
No Matches
wtools.config.version_integer Class Reference

Static Public Member Functions

 configure_postload (cnf, requires, **kwargs)
 
 configure_preload (cnf, requires, **kwargs)
 

Static Public Attributes

list requires = []
 
list tools = []
 

Detailed Description

Adds an integer version number following the same scheme as boost:

Given integer `num` representing version x.y.z:

x = num / 100000
y = num / 100 % 1000
z = num % 100

`num` is saved in configuration context `PROJECT_VERSION_INTEGER` (typically accessed as
`cnf.env.PROJECT_VERSION_INTEGER`).

The documentation for this class was generated from the following file: