diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-17 01:35:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-22 18:52:21 +0300 |
commit | d52c1fb406b1cef82c5f5a28fc1804d7d99a49d8 (patch) | |
tree | 89236d3dcdf6245c75d761fde09040d9d2a56480 /examples/file/buildfile | |
parent | be3dc4cee63da92cfa1fa44a0bf90ab11ec7aaca (diff) |
Add support for build2 for tests and examples
Diffstat (limited to 'examples/file/buildfile')
-rw-r--r-- | examples/file/buildfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/file/buildfile b/examples/file/buildfile new file mode 100644 index 0000000..d26a9d6 --- /dev/null +++ b/examples/file/buildfile @@ -0,0 +1,14 @@ +# file : examples/file/buildfile +# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +exe{driver}: cxx{driver} {hxx ixx cxx}{options} doc{README} file{test.ops} +exe{driver}: test.arguments = --options-file $src_base/test.ops + +cxx.poptions =+ -I$out_base + +# Generated options parser. +# +{hxx ixx cxx}{options}: cli{options} + +cli.options = --generate-file-scanner |