aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-26 16:37:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-26 16:37:16 +0200
commitf0edc0e2b67fa43c4e2410c7d3d8f1841d576749 (patch)
tree25ca1dd8c20649a1a9a35355670a1f5c8b99695c /build2/cc/compile
parente347540d400c552917ca7067c4571f1028f6e1af (diff)
Add pkg-config support for import installed
Redesign library importing/exporting while at it.
Diffstat (limited to 'build2/cc/compile')
-rw-r--r--build2/cc/compile8
1 files changed, 7 insertions, 1 deletions
diff --git a/build2/cc/compile b/build2/cc/compile
index 2f1a0eb..5bff6b1 100644
--- a/build2/cc/compile
+++ b/build2/cc/compile
@@ -41,6 +41,12 @@ namespace build2
perform_clean (action, target&) const;
private:
+ void
+ append_lib_options (cstrings&, target&) const;
+
+ void
+ hash_lib_options (sha256&, target&) const;
+
// Mapping of include prefixes (e.g., foo in <foo/bar>) for auto-
// generated headers to directories where they will be generated.
//
@@ -57,7 +63,7 @@ namespace build2
append_prefixes (prefix_map&, target&, const variable&) const;
void
- append_lib_prefixes (prefix_map&, target&, lorder) const;
+ append_lib_prefixes (prefix_map&, target&) const;
prefix_map
build_prefix_map (target&, lorder) const;