aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/compile-rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-13 15:38:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-13 15:38:53 +0200
commit23827edd998db30dd1f0d6a14f09399aa7d07b69 (patch)
treead5d7669b167efde8e01894c72d091196f58bcdf /libbuild2/cc/compile-rule.hxx
parentd92ea3a7cff0dae578005a914df799e1e11efc8e (diff)
Add ${c,cxx}.find_system_{header,library}() functions
Diffstat (limited to 'libbuild2/cc/compile-rule.hxx')
-rw-r--r--libbuild2/cc/compile-rule.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/cc/compile-rule.hxx b/libbuild2/cc/compile-rule.hxx
index 917acd1..e80c36a 100644
--- a/libbuild2/cc/compile-rule.hxx
+++ b/libbuild2/cc/compile-rule.hxx
@@ -60,6 +60,10 @@ namespace build2
append_library_options (appended_libraries&, strings&,
const scope&,
action, const file&, bool, linfo) const;
+
+ optional<path>
+ find_system_header (const path&) const;
+
protected:
static void
functions (function_family&, const char*); // functions.cxx