From f0edc0e2b67fa43c4e2410c7d3d8f1841d576749 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Aug 2016 16:37:16 +0200 Subject: Add pkg-config support for import installed Redesign library importing/exporting while at it. --- build2/cc/utility.cxx | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'build2/cc/utility.cxx') diff --git a/build2/cc/utility.cxx b/build2/cc/utility.cxx index 773ba8f..7be86e2 100644 --- a/build2/cc/utility.cxx +++ b/build2/cc/utility.cxx @@ -71,45 +71,5 @@ namespace build2 return *r; } - - void - append_lib_options (cstrings& args, target& l, lorder lo, - const variable& cv, - const variable& xv) - { - using namespace bin; - - for (target* t: l.prerequisite_targets) - { - if (lib* l = t->is_a ()) - t = &link_member (*l, lo); // Pick one of the members. - - if (t->is_a () || t->is_a ()) - append_lib_options (args, *t, lo, cv, xv); - } - - append_options (args, l, cv); - append_options (args, l, xv); - } - - void - hash_lib_options (sha256& csum, target& l, lorder lo, - const variable& cv, - const variable& xv) - { - using namespace bin; - - for (target* t: l.prerequisite_targets) - { - if (lib* l = t->is_a ()) - t = &link_member (*l, lo); // Pick one of the members. - - if (t->is_a () || t->is_a ()) - hash_lib_options (csum, *t, lo, cv, xv); - } - - hash_options (csum, l, cv); - hash_options (csum, l, xv); - } } } -- cgit v1.1