diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-19 13:32:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-19 13:32:30 +0200 |
commit | 627991f892f431988c6a683b1305aee5510920dd (patch) | |
tree | abb7f8e670cce67b96d930c73f6d548b126429a6 /tests/build |
Basic "Hello World" C++ library with build2
Diffstat (limited to 'tests/build')
-rw-r--r-- | tests/build/.gitignore | 1 | ||||
-rw-r--r-- | tests/build/bootstrap.build | 5 | ||||
-rw-r--r-- | tests/build/root.build | 10 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/build/.gitignore b/tests/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/tests/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build new file mode 100644 index 0000000..2c2de24 --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,5 @@ +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/tests/build/root.build b/tests/build/root.build new file mode 100644 index 0000000..672eda8 --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,10 @@ +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +cxx.std = 11 + +# Every exe{} in this subproject is by default a test. +# +test.exe = true |