diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-01 13:00:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-01 13:00:01 +0200 |
commit | eabb1afc66f710880ba43d6bfcfb9c7be6e97026 (patch) | |
tree | 12f748fa68629c3fa871e72d084fd21cd5381591 | |
parent | 9f016b810e18942c323682161124dda7dacba8cf (diff) |
Initialize build system
-rw-r--r-- | bpkg/.gitignore | 1 | ||||
-rw-r--r-- | bpkg/bpkg.cxx | 13 | ||||
-rw-r--r-- | bpkg/buildfile | 8 | ||||
-rw-r--r-- | build/.gitignore | 1 | ||||
-rw-r--r-- | build/bootstrap.build | 6 | ||||
-rw-r--r-- | build/root.build | 13 | ||||
-rw-r--r-- | buildfile | 7 |
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 |