|
wtools 3.9.0-pre1
ESO waf tools
|
Consider this project layout with a single module fooBar within the package baz.
.
|-- baz # package baz
| |-- fooBar # module fooBar
| | |-- src # source directory for fooBar
| | `-- wscript # module wscript
| `-- wscript # package wscript
|-- wtools # wtools waf-extensions
`-- wscript # top level wscript (Project)
In this example wscript we declare a package by giving it a name, version and where to recurse into. The recurse pattern supports basic globbing, c.f. recurse.
The baz package wscript is even simpler:
In simple use cases the fooBar-module wscript simply contains information of which type of module it is. In this example it is a C/C++ program.