From eb649ff736e101e49afacb31d580741851375e69 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 21 Jan 2016 11:08:37 +0200 Subject: Basic "Hello World" C++ program with build2 --- buildfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 buildfile (limited to 'buildfile') diff --git a/buildfile b/buildfile new file mode 100644 index 0000000..0f35aef --- /dev/null +++ b/buildfile @@ -0,0 +1,7 @@ +import libs = libhello%lib{hello} + +exe{hello}: cxx{hello} $libs +exe{hello}: test.arguments = World "Planet #345732" +exe{hello}: test.output = test.out + +./: exe{hello} doc{version} file{manifest} -- cgit v1.1