diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
commit | 6417a4e6af2b7732ec0da6af24f1a56f7cdada3f (patch) | |
tree | 58ffae7ef0cdac55acd6d498dfc66ce0967f4e9a /build2/spec | |
parent | 31bd69c56bc29ec1c154a7c0623b6f0ccce78af1 (diff) |
Set part of variable override implementation
Diffstat (limited to 'build2/spec')
-rw-r--r-- | build2/spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/spec b/build2/spec index 5e02f46..4602b6e 100644 --- a/build2/spec +++ b/build2/spec @@ -10,6 +10,8 @@ namespace build2 { + class scope; + struct targetspec { typedef build2::name name_type; @@ -21,6 +23,12 @@ namespace build2 dir_path src_base; name_type name; + + // The rest is calculated and cached. + // + scope* root_scope = nullptr; + dir_path out_base; + path buildfile; }; struct opspec: vector<targetspec> |