From 2d4b7eb982d2f7140d8093d9b1f0c3498d84f936 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 May 2023 09:36:35 +0200 Subject: Add support for fsdir{} dynamic prerequisites in the dyndep lines format This can be used to handle situations where the dynamic targets are placed into subdirectories. --- libbuild2/build/script/builtin.cli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/build/script/builtin.cli') diff --git a/libbuild2/build/script/builtin.cli b/libbuild2/build/script/builtin.cli index 6d6369b..5aea034 100644 --- a/libbuild2/build/script/builtin.cli +++ b/libbuild2/build/script/builtin.cli @@ -56,6 +56,10 @@ namespace build2 // lines. In the non-byproduct mode a prerequisite line that starts // with a leading space is considered a non-existent prerequisite. // Currently only relative non-existent prerequisites are supported. + // Finally, in this mode, if the prerequisite is syntactically a + // directory (that is, it ends with a trailing directory separator), + // then it is added as fsdir{}. This can be used to handle situations + // where the dynamic targets are placed into subdirectories. // // Note on naming: whenever we (may) have two options, one for target // and the other for prerequisite, we omit "prerequisite" as that's -- cgit v1.1