diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-18 10:54:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-18 10:54:23 +0200 |
commit | 70e095024ab33404ba0cf20c184a7a9560bca5f0 (patch) | |
tree | ea56d10fb9efbb1361863c7fc59e9ff74cde6f7b /libbuild2/build/script/builtin-options.hxx | |
parent | 1da1ae7733b7ef329b85df16cd15b91709cf4db9 (diff) |
Add dynamic prerequisites to $< unless --adhoc is specified
Also add a few tests for depdb-dyndep.
Diffstat (limited to 'libbuild2/build/script/builtin-options.hxx')
-rw-r--r-- | libbuild2/build/script/builtin-options.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/build/script/builtin-options.hxx b/libbuild2/build/script/builtin-options.hxx index 39b8667..60020c9 100644 --- a/libbuild2/build/script/builtin-options.hxx +++ b/libbuild2/build/script/builtin-options.hxx @@ -418,6 +418,15 @@ namespace build2 void default_type_specified (bool); + const bool& + adhoc () const; + + bool& + adhoc (); + + void + adhoc (const bool&); + const dir_path& cwd () const; @@ -465,6 +474,7 @@ namespace build2 bool include_path_specified_; string default_type_; bool default_type_specified_; + bool adhoc_; dir_path cwd_; bool cwd_specified_; bool drop_cycles_; |