aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link-rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-04 16:10:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-09-04 16:14:08 +0200
commit3fd36c27e9455dae10ed4f569ca4362219bbcbcb (patch)
tree8dd42450651d18fbe463001f19ed04f2ed66d180 /build2/cc/link-rule.hxx
parent5007870b52aa549971824959a55ad3bb886f09e0 (diff)
Initial work on binless (binary-less aka header-only) library support
Diffstat (limited to 'build2/cc/link-rule.hxx')
-rw-r--r--build2/cc/link-rule.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/cc/link-rule.hxx b/build2/cc/link-rule.hxx
index ee4a2bd..47bfdf1 100644
--- a/build2/cc/link-rule.hxx
+++ b/build2/cc/link-rule.hxx
@@ -98,6 +98,8 @@ namespace build2
//
optional<bool> for_install;
+ bool binless; // Binary-less library.
+
libs_paths libs_data;
};
@@ -155,7 +157,7 @@ namespace build2
// pkg-config's .pc file generation (pkgconfig.cxx).
//
void
- pkgconfig_save (action, const file&, bool) const;
+ pkgconfig_save (action, const file&, bool, bool) const;
private:
const string rule_id;