diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:26:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:26:47 +0200 |
commit | f013fac528515dad78c9a624216b1e0217a5f3bb (patch) | |
tree | 88a98bdb6f4b6c385f06239eb7c46ce8acf5d3c8 /build |
"Hello World" formatter C++ library with build2
Diffstat (limited to 'build')
-rw-r--r-- | build/.gitignore | 1 | ||||
-rw-r--r-- | build/bootstrap.build | 14 | ||||
-rw-r--r-- | build/export.build | 6 | ||||
-rw-r--r-- | build/root.build | 6 |
4 files changed, 27 insertions, 0 deletions
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..9101716 --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,14 @@ +project = libformat +version = 1.0.0 +revision = 0 + +using config +using dist +using install + +dist.package = $project-$version + +if ($revision != 0) +{ + dist.package += +$revision +} diff --git a/build/export.build b/build/export.build new file mode 100644 index 0000000..53e115c --- /dev/null +++ b/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include format/ +} + +export $out_root/format/lib{format} diff --git a/build/root.build b/build/root.build new file mode 100644 index 0000000..9ade644 --- /dev/null +++ b/build/root.build @@ -0,0 +1,6 @@ +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +cxx.std = 11 |