aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-05 16:49:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-05 16:49:03 +0200
commit67ceaa76da58303843c913b42ee493e33eb42d49 (patch)
tree64856e83b0d092e2df67fba9e03481e9ebd60907 /build2/cli/target.cxx
parentd53c53ee45fa0a0e32d59354c81b26ea530edaac (diff)
Add note
Diffstat (limited to 'build2/cli/target.cxx')
-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);