diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:27:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:27:59 +0200 |
commit | d1753af195bccde1690f639ee83a6a8611d9e323 (patch) | |
tree | 4f51663112a1be23ef7089fc29f8df86d38bef2f /build |
"Hello World" printer 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..a7e8eb6 --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,14 @@ +project = libprint +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..dd96278 --- /dev/null +++ b/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include print/ +} + +export $out_root/print/lib{print} 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 |