From 77bc33bcdf611d0f5c703d3d8e20d6f5aff8814c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 31 Aug 2016 12:57:01 +0200 Subject: Add build2-based build system --- build/.gitignore | 1 + build/bootstrap.build | 26 ++++++++++++++++++++++++++ build/export.build | 10 ++++++++++ build/root.build | 14 ++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 build/.gitignore create mode 100644 build/bootstrap.build create mode 100644 build/export.build create mode 100644 build/root.build (limited to 'build') 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..e4b58a9 --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,26 @@ +# file : build/bootstrap.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +project = libstudxml + +using build@0.4.0-a1 + +version = 1.1.0-a4 + +abi_major = 1 +abi_minor = 1 +abi_patch = 0 +abi_prerelease = true + +revision = 0 + +dist.package = $project-$version + +if ($revision != 0) + dist.package += +$revision + +using config +using dist +using test +using install diff --git a/build/export.build b/build/export.build new file mode 100644 index 0000000..6d62864 --- /dev/null +++ b/build/export.build @@ -0,0 +1,10 @@ +# file : build/export.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +$out_root/: +{ + include xml/ +} + +export $out_root/xml/lib{studxml} diff --git a/build/root.build b/build/root.build new file mode 100644 index 0000000..a6cb63a --- /dev/null +++ b/build/root.build @@ -0,0 +1,14 @@ +# file : build/root.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +cxx.std = 11 + +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx +ixx{*}: extension = ixx +txx{*}: extension = txx + +using c -- cgit v1.1