aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/compile-rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-03 09:45:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-03 09:45:46 +0200
commit90d37f3fe126fa7b3d97fb071f537f910bd4a7fa (patch)
tree95d8395498c6d2ba7909e46212414c648647855f /libbuild2/cc/compile-rule.hxx
parent67d799852492743a93a464002395ccb624514fb8 (diff)
Propagate relevant options/prerequisites to header unit sidebuilds
Diffstat (limited to 'libbuild2/cc/compile-rule.hxx')
-rw-r--r--libbuild2/cc/compile-rule.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/cc/compile-rule.hxx b/libbuild2/cc/compile-rule.hxx
index a5eb8e8..edff1d8 100644
--- a/libbuild2/cc/compile-rule.hxx
+++ b/libbuild2/cc/compile-rule.hxx
@@ -162,7 +162,7 @@ namespace build2
const target_type&,
const file&, module_imports&, sha256&) const;
- dir_path
+ pair<dir_path, const scope&>
find_modules_sidebuild (const scope&) const;
const file&
@@ -170,7 +170,8 @@ namespace build2
const target&, const string&) const;
const file&
- make_header_sidebuild (action, const scope&, linfo, const file&) const;
+ make_header_sidebuild (action, const scope&, const file&,
+ linfo, const file&) const;
void
append_header_options (environment&, cstrings&, small_vector<string, 2>&,