diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-30 20:43:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-30 23:09:54 +0300 |
commit | 5769aaa5ccfca2cfa25bf898c2dd113b1504c1d6 (patch) | |
tree | e49ee79c62db12a20d618a2a75a5d8aee830b207 | |
parent | 398bea3c765b031540bd17841c71825dcb7b62c7 (diff) |
Build infrastructure update
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | build/.gitignore | 1 | ||||
-rw-r--r-- | build/bootstrap.build | 13 | ||||
-rw-r--r-- | build/root.build | 4 | ||||
-rw-r--r-- | buildfile | 4 | ||||
-rw-r--r-- | hello.cxx (renamed from hello.cpp) | 0 | ||||
-rw-r--r-- | manifest | 2 |
7 files changed, 32 insertions, 6 deletions
@@ -1,7 +1,15 @@ +# Compiler/linker output. +# +*.d *.o *.obj -*.d +*.so +*.dll +*.a +*.lib +*.exp +*.exe +*.exe.dlls/ +*.exe.manifest hello -hello.exe - 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 index bb0cfe1..284ccd0 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -1,6 +1,17 @@ project = hello0 +using build@0.4.0-a1 + +version = 1.0.0 + +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 99d62c0..54a5851 100644 --- a/build/root.build +++ b/build/root.build @@ -1,3 +1,5 @@ +cxx.std = 11 + using cxx -cxx{*}: extension = cpp +cxx{*}: extension = cxx @@ -1,2 +1,4 @@ -exe{hello}: cxx{hello} doc{README} +exe{hello}: cxx{hello} exe{hello}: test.arguments = World + +./: exe{hello} doc{README} file{manifest} @@ -5,3 +5,5 @@ summary: Zero-dependencies "Hello World" program license: public-domain url: http://example.org/hello0 email: hello0@example.org +requires: c++11 +requires: build2 >= 0.4.0 |