From f63c0548281015ca1f7d71079c0880e3634063fb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Sep 2021 08:55:34 +0200 Subject: Add notion of bundle amalgamation scope --- libbuild2/install/init.cxx | 1 + libbuild2/install/utility.cxx | 2 ++ 2 files changed, 3 insertions(+) (limited to 'libbuild2/install') diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index 50c0a05..25dc845 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -421,6 +421,7 @@ namespace build2 // of this scope. Valid values are: // // project -- project scope + // bundle -- bundle amalgamation // strong -- strong amalgamation // weak -- weak amalgamation // global -- all projects (default) diff --git a/libbuild2/install/utility.cxx b/libbuild2/install/utility.cxx index 12215f8..17b1365 100644 --- a/libbuild2/install/utility.cxx +++ b/libbuild2/install/utility.cxx @@ -18,6 +18,8 @@ namespace build2 { if (*s == "project") return &t.root_scope (); + else if (*s == "bundle") + return &t.bundle_scope (); else if (*s == "strong") return &t.strong_scope (); else if (*s == "weak") -- cgit v1.1