diff options
Diffstat (limited to 'build2/version/module.hxx')
-rw-r--r-- | build2/version/module.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build2/version/module.hxx b/build2/version/module.hxx index b3bf813..56536c3 100644 --- a/build2/version/module.hxx +++ b/build2/version/module.hxx @@ -24,22 +24,23 @@ namespace build2 { static const string name; + const string& project; // The project variable value. + butl::standard_version version; bool committed; // Whether this is a committed snapshot. bool rewritten; // Whether this is a rewritten .z snapshot. dependency_constraints dependencies; - const variable* in_symbol = nullptr; // in.symbol - const variable* in_substitution = nullptr; // in.substitution - bool dist_uncommitted = false; - module (butl::standard_version v, + module (const string& p, + butl::standard_version v, bool c, bool r, dependency_constraints d) - : version (move (v)), + : project (p), + version (move (v)), committed (c), rewritten (r), dependencies (move (d)) {} |