Table of Contents
Configuring a project consists in finding the parameters that will be used during the build step
$ cd demos/simple_scenarios/init $ cat wscript VERSION='0.0.1' APPNAME='test' srcdir = '.' blddir = 'build' def set_options(opt): pass def configure(conf): pass def build(bld): pass def shutdown(): pass $ waf configure
Several configuration files are produced and the configuration parameters are stored in the folder c4che located under the build directory
|-- .lock-wscript`-- build |-- .wafpickle-6
|-- c4che | |-- build.config.py
| `-- default.cache.py
`-- config.log
![]()
Contains a reference to the build directory and contains the command-line configuration flags. It is located at the root of the source directory. | |
Contains serialized data corresponding to the build information (cache, filesystem representation, etc) | |
Contains the Waf version and the list of Waf modules to open automatically | |
Represents a configuration environment (parameters such as configuration flags used during the build) | |
Contains the configuration test execution details |
The file default.cache.py is called a configuration environment, and it may be edited by hand. We will give the details on the following section. The other files are not meant to be modified by hand, even if they are editable.