aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg/1/build2.org/common/libhello-1.0.0+1/build')
-rw-r--r--tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build15
-rw-r--r--tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build6
-rw-r--r--tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build10
3 files changed, 31 insertions, 0 deletions
diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build
new file mode 100644
index 0000000..c9bf24d
--- /dev/null
+++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build
@@ -0,0 +1,15 @@
+project = libhello
+version = 1.0.0
+revision = 1
+
+using config
+using dist
+using test
+using install
+
+dist.package = $project-$version
+
+if ($revision != 0)
+{
+ dist.package += +$revision
+}
diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build
new file mode 100644
index 0000000..1eb73b7
--- /dev/null
+++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include hello/
+}
+
+export $out_root/hello/lib{hello}
diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build
new file mode 100644
index 0000000..ebe16d5
--- /dev/null
+++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build
@@ -0,0 +1,10 @@
+using cxx
+
+hxx{*}: extension =
+cxx{*}: extension = cxx
+
+cxx.std = 11
+
+# Don't install tests.
+#
+tests/: install = false