From 70e095024ab33404ba0cf20c184a7a9560bca5f0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 18 Jan 2022 10:54:23 +0200 Subject: Add dynamic prerequisites to $< unless --adhoc is specified Also add a few tests for depdb-dyndep. --- libbuild2/build/script/builtin.cli | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/build/script/builtin.cli') diff --git a/libbuild2/build/script/builtin.cli b/libbuild2/build/script/builtin.cli index 9f3f2ba..6292f48 100644 --- a/libbuild2/build/script/builtin.cli +++ b/libbuild2/build/script/builtin.cli @@ -58,6 +58,11 @@ namespace build2 string --default-type; // Default prerequisite type to use // if none could be derived from ext. + bool --adhoc; // Treat dynamically discovered + // prerequisites as ad hoc (so they + // don't end up in $<; only in the + // normal mode). + dir_path --cwd; // Builtin's working directory used // to complete relative paths (only // in --byproduct mode). -- cgit v1.1