From b3c23dd8c214400238011c92739dbaec833551c6 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 Aug 2016 21:25:26 +0300 Subject: Build infrastructure update --- .gitignore | 12 ++++++++++-- build/bootstrap.build | 16 +++++++++------- build/root.build | 4 ++-- manifest | 1 + 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 24090f3..2a1dc8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,15 @@ -*.o +# Compiler/linker output. +# *.d +*.o +*.obj *.so +*.dll *.a -core +*.lib +*.exp +*.exe +*.exe.dlls/ +*.exe.manifest hello diff --git a/build/bootstrap.build b/build/bootstrap.build index 20e3dbe..80a7e1b 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -1,15 +1,17 @@ project = hello + +using build@0.4.0-a1 + version = 1.0.0 -revision = 0 -using config -using dist -using test -using install +revision = 0 dist.package = $project-$version if ($revision != 0) -{ dist.package += +$revision -} + +using config +using dist +using test +using install diff --git a/build/root.build b/build/root.build index 7b1aac4..54a5851 100644 --- a/build/root.build +++ b/build/root.build @@ -1,5 +1,5 @@ +cxx.std = 11 + using cxx cxx{*}: extension = cxx - -cxx.std = 11 diff --git a/manifest b/manifest index 27c1158..d3cd8cd 100644 --- a/manifest +++ b/manifest @@ -12,4 +12,5 @@ project/package. url: http://www.example.org/hello email: hello-users@example.org requires: c++11 +requires: build2 >= 0.4.0 depends: libhello [1.0.0 2.0.0-); compatible with libhello-1.X.Y -- cgit v1.1