aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-02-09 10:11:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-02-09 10:19:46 +0200
commitc285dafe9e2b7e4bba3fddad3fa254e4bdbb02d3 (patch)
treef17edc9cc380e983b7a23409db3899dc998ded9b /libbuild2/target.hxx
parent50de0d1dbdccf95722e229dd1728a00ee661412b (diff)
Don't use fallback file_rule to clean real targets
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 76c01b6..809bf8b 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -129,6 +129,10 @@ namespace build2
// @@ We have cases (like pkg-config extraction) where it should probably be
// prereq_file rather than implied (also audit targets.insert<> calls).
//
+ // @@ Also, synthesized dependency declarations (e.g., in cc::link_rule) are
+ // fuzzy: they feel more `real` than `implied`. Maybe introduce
+ // `synthesized` in-between?
+ //
enum class target_decl: uint8_t
{
prereq_new, // Created from prerequisite (create_new_target()).