diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-10 22:51:55 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-13 12:42:16 +0300 |
commit | 193efb512ffbc2231ef5c48699d51fbae3f3f9f1 (patch) | |
tree | c497c71ddd3d6a6f5fb1fbfe3bc2675f99f21b89 /examples/build | |
parent | 54d64e7ca405e06d2328e6207bb4752e20577e50 (diff) |
Move tests and examples to build2 as subprojects
Diffstat (limited to 'examples/build')
-rw-r--r-- | examples/build/.gitignore | 1 | ||||
-rw-r--r-- | examples/build/bootstrap.build | 5 | ||||
-rw-r--r-- | examples/build/root.build | 10 |
3 files changed, 16 insertions, 0 deletions
diff --git a/examples/build/.gitignore b/examples/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/examples/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/examples/build/bootstrap.build b/examples/build/bootstrap.build new file mode 100644 index 0000000..2c2de24 --- /dev/null +++ b/examples/build/bootstrap.build @@ -0,0 +1,5 @@ +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/examples/build/root.build b/examples/build/root.build new file mode 100644 index 0000000..1f7c350 --- /dev/null +++ b/examples/build/root.build @@ -0,0 +1,10 @@ +cxx.std = 11 + +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +# Every exe{} in this subproject is by default a test. +# +exe{*}: test = true |