From eabb1afc66f710880ba43d6bfcfb9c7be6e97026 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Sep 2015 13:00:01 +0200 Subject: Initialize build system --- bpkg/.gitignore | 1 + bpkg/bpkg.cxx | 13 +++++++++++++ bpkg/buildfile | 8 ++++++++ build/.gitignore | 1 + build/bootstrap.build | 6 ++++++ build/root.build | 13 +++++++++++++ buildfile | 7 +++++++ 7 files changed, 49 insertions(+) create mode 100644 bpkg/.gitignore create mode 100644 bpkg/bpkg.cxx create mode 100644 bpkg/buildfile create mode 100644 build/.gitignore create mode 100644 build/bootstrap.build create mode 100644 build/root.build create mode 100644 buildfile 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 +#include + +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 -- cgit v1.1