diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-23 10:25:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-23 10:25:37 +0200 |
commit | 42075953692a19e8a51c676fb249a4464f45954a (patch) | |
tree | 97b39f35cbef9b130953d85158e83312f84ef84e /build2/cc/compile | |
parent | 659535a1792527d885f5de68afd84d4241fcb0b3 (diff) |
Handle "prefixless" include directory to project mapping better
Diffstat (limited to 'build2/cc/compile')
-rw-r--r-- | build2/cc/compile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/cc/compile b/build2/cc/compile index 6e20836..2f1a0eb 100644 --- a/build2/cc/compile +++ b/build2/cc/compile @@ -44,10 +44,10 @@ namespace build2 // Mapping of include prefixes (e.g., foo in <foo/bar>) for auto- // generated headers to directories where they will be generated. // - // We are using a prefix map of directories (dir_path_map) instead - // of just a map in order also cover sub-paths (e.g., <foo/more/bar> - // if we continue with the example). Specifically, we need to make - // sure we don't treat foobar as a sub-directory of foo. + // We are using a prefix map of directories (dir_path_map) instead of + // just a map in order to also cover sub-paths (e.g., <foo/more/bar> if + // we continue with the example). Specifically, we need to make sure we + // don't treat foobar as a sub-directory of foo. // // @@ The keys should be normalized. // @@ -70,7 +70,7 @@ namespace build2 // Header dependency injection. // void - inject (action, target&, lorder, file&, scope&, depdb&) const; + inject (action, target&, lorder, file&, depdb&) const; private: const link& link_; |