aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/.gitignore1
-rw-r--r--bpkg/bpkg.cxx13
-rw-r--r--bpkg/buildfile8
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build6
-rw-r--r--build/root.build13
-rw-r--r--buildfile7
7 files changed, 49 insertions, 0 deletions
diff --git a/bpkg/.gitignore b/bpkg/.gitignore
new file mode 100644
index 0000000..5184a34
--- /dev/null
+++ b/bpkg/.gitignore
@@ -0,0 +1 @@
+bpkg
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
new file mode 100644
index 0000000..6e35544
--- /dev/null
+++ b/bpkg/bpkg.cxx
@@ -0,0 +1,13 @@
+// file : bpkg/bpkg.cxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#include <iostream>
+#include <exception>
+
+using namespace std;
+
+int
+main ()
+{
+}
diff --git a/bpkg/buildfile b/bpkg/buildfile
new file mode 100644
index 0000000..2c22069
--- /dev/null
+++ b/bpkg/buildfile
@@ -0,0 +1,8 @@
+# file : bpkg/buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+import libs = libbutl%lib{butl}
+import libs += libbpkg%lib{bpkg}
+
+exe{bpkg}: cxx{bpkg} $libs
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..f8e9522
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,6 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+project = bpkg
+using config
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..2066273
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,13 @@
+# file : build/root.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+using cxx
+
+hxx.ext =
+ixx.ext = ixx
+txx.ext = txx
+cxx.ext = cxx
+
+cxx.std = 11
+cxx.poptions += -I$out_root -I$src_root
diff --git a/buildfile b/buildfile
new file mode 100644
index 0000000..3dd2d5d
--- /dev/null
+++ b/buildfile
@@ -0,0 +1,7 @@
+# file : buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+d = bpkg/
+.: $d
+include $d