From 32e04ad4b4a8dec07836b7c9fcf90fe72a006990 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 25 Aug 2018 17:40:21 +0200 Subject: Implement missing pieces in utility libraries support In particular, we can now build static libraries out of utility libraries. --- build2/bin/rule.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/bin/rule.hxx') diff --git a/build2/bin/rule.hxx b/build2/bin/rule.hxx index d656f62..ab8d64b 100644 --- a/build2/bin/rule.hxx +++ b/build2/bin/rule.hxx @@ -44,6 +44,18 @@ namespace build2 static target_state perform (action, const target&); + + // Return library types to build according to the bin.lib value (set + // on project's root scope by init()). + // + struct members + { + bool a; // static + bool s; // shared + }; + + static members + build_members (const scope&); }; } } -- cgit v1.1