From 4cf87fa84a6938e262fd6122e654e5a483a78abe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 11 Dec 2020 07:20:18 +0200 Subject: Add support for module interface-only libraries Also suppress generation of the object file in cases where we don't need it. --- libbuild2/cc/link-rule.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libbuild2/cc/link-rule.hxx') diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx index 6d0649c..baccf8d 100644 --- a/libbuild2/cc/link-rule.hxx +++ b/libbuild2/cc/link-rule.hxx @@ -131,6 +131,14 @@ namespace build2 const scope&, action, const target&, linfo, bool) const; + void + append_binless_modules (strings&, + const scope&, action, const file&) const; + + void + append_binless_modules (sha256&, + const scope&, action, const file&) const; + protected: static void functions (function_family&, const char*); // functions.cxx -- cgit v1.1