aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-09-29 08:55:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-09-29 08:55:34 +0200
commitf63c0548281015ca1f7d71079c0880e3634063fb (patch)
treecb5cf0690e9d979c7fb98455f6a3320c7f0f53eb /libbuild2/install
parent41273da120ef8e4a2bed7576de0532264b042ee1 (diff)
Add notion of bundle amalgamation scope
Diffstat (limited to 'libbuild2/install')
-rw-r--r--libbuild2/install/init.cxx1
-rw-r--r--libbuild2/install/utility.cxx2
2 files changed, 3 insertions, 0 deletions
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")