aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cli/target.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/cli/target.cxx b/build2/cli/target.cxx
index 0b85810..c50c0b4 100644
--- a/build2/cli/target.cxx
+++ b/build2/cli/target.cxx
@@ -55,6 +55,8 @@ namespace build2
// this is to avoid searching for existing files in src_base if the
// buildfile mentions some of them explicitly as prerequisites.
//
+ // Also required for the src-out re-mapping logic.
+ //
targets.insert<cxx::hxx> (d, o, n, trace);
targets.insert<cxx::cxx> (d, o, n, trace);
targets.insert<cxx::ixx> (d, o, n, trace);