![]() |
bob.hpp
|
A build recipe that defiles how to produce outputs from inputs. More...
#include <bob.hpp>
Public Member Functions | |
Recipe (const Paths &outputs, const Paths &inputs, RecipeFunc func) | |
Constructs a recipe with the given outputs, inputs, and build function. | |
bool | needs_rebuild () const |
Use the modified time of the inputs and outputs to determine if the recipe needs to be rebuilt. | |
void | build () const |
Builds the outputs from the inputs using the recipe function. | |
Public Attributes | |
Paths | inputs |
The input files that are used to build the outputs. | |
Paths | outputs |
The output files that are expected to be produced by the recipe. | |
RecipeFunc | func |
The function that will be called to build the outputs from the inputs. | |
A build recipe that defiles how to produce outputs from inputs.