aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-01 12:22:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-01 12:22:26 +0200
commit2dd1f9fa5a7427096b74aa85258ec2feeb93c104 (patch)
tree99e05e4fa8abb757f4420dbd7137e99acae48083 /libbuild2/target.hxx
parent061879137a62cb905f75e35c104cff379fb95134 (diff)
Diagnose null include, operation-specific variable values
While assigning null directly is unlikely, it's fairly easy via a variable expansion. Real-world example: ./: exe{tensor}: include = $config.Eigen.unsupported
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index d01e8b7..d4ad780 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1472,9 +1472,7 @@ namespace build2
}
include_type
- include (action, const target&,
- const prerequisite_member&,
- lookup* = nullptr);
+ include (action, const target&, const prerequisite_member&, lookup* = nullptr);
// A "range" that presents a sequence of prerequisites (e.g., from
// group_prerequisites()) as a sequence of prerequisite_member's. For each