From d52c1fb406b1cef82c5f5a28fc1804d7d99a49d8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 17 Nov 2016 01:35:29 +0300 Subject: Add support for build2 for tests and examples --- examples/hello/buildfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/hello/buildfile (limited to 'examples/hello/buildfile') diff --git a/examples/hello/buildfile b/examples/hello/buildfile new file mode 100644 index 0000000..f45001d --- /dev/null +++ b/examples/hello/buildfile @@ -0,0 +1,12 @@ +# file : examples/hello/buildfile +# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +exe{driver}: cxx{driver} {hxx ixx cxx}{hello} doc{README} +exe{driver}: test.arguments = --greeting Hi John Jane + +cxx.poptions =+ -I$out_base + +# Generated options parser. +# +{hxx ixx cxx}{hello}: cli{hello} -- cgit v1.1