summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/example/named-install-dirs/x
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/boost/tools/build/example/named-install-dirs/x
parentInitial commit. (diff)
downloadceph-upstream/18.2.2.tar.xz
ceph-upstream/18.2.2.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/build/example/named-install-dirs/x')
-rw-r--r--src/boost/tools/build/example/named-install-dirs/x/build.jam5
-rw-r--r--src/boost/tools/build/example/named-install-dirs/x/y/build.jam9
-rw-r--r--src/boost/tools/build/example/named-install-dirs/x/z/build.jam11
3 files changed, 25 insertions, 0 deletions
diff --git a/src/boost/tools/build/example/named-install-dirs/x/build.jam b/src/boost/tools/build/example/named-install-dirs/x/build.jam
new file mode 100644
index 000000000..ceb409242
--- /dev/null
+++ b/src/boost/tools/build/example/named-install-dirs/x/build.jam
@@ -0,0 +1,5 @@
+# this subproject showcases installed package name deduction
+
+project subx ;
+build-project y ;
+build-project z ;
diff --git a/src/boost/tools/build/example/named-install-dirs/x/y/build.jam b/src/boost/tools/build/example/named-install-dirs/x/y/build.jam
new file mode 100644
index 000000000..69e52d1dc
--- /dev/null
+++ b/src/boost/tools/build/example/named-install-dirs/x/y/build.jam
@@ -0,0 +1,9 @@
+# this subproject doesn't have a name, so its default package name is deduced
+# from its parent
+
+install (docdir)/y1 : ../../a ;
+
+# Copyright 2020 Dmitry Arkhipov
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE.txt or copy at
+# https://www.bfgroup.xyz/b2/LICENSE.txt)
diff --git a/src/boost/tools/build/example/named-install-dirs/x/z/build.jam b/src/boost/tools/build/example/named-install-dirs/x/z/build.jam
new file mode 100644
index 000000000..5eaf76a5a
--- /dev/null
+++ b/src/boost/tools/build/example/named-install-dirs/x/z/build.jam
@@ -0,0 +1,11 @@
+# this subproject does have a name, so its name is used as its default package
+# name
+
+project subz ;
+
+install (docdir)/z1 : ../../a ;
+
+# Copyright 2020 Dmitry Arkhipov
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE.txt or copy at
+# https://www.bfgroup.xyz/b2/LICENSE.txt)