diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 11:08:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 11:08:37 +0200 |
commit | eb649ff736e101e49afacb31d580741851375e69 (patch) | |
tree | c615d4aa2323c6581cff9bd17fae2204b7ed6dae /buildfile |
Basic "Hello World" C++ program with build2
Diffstat (limited to 'buildfile')
-rw-r--r-- | buildfile | 7 |
1 files changed, 7 insertions, 0 deletions
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} |