summaryrefslogtreecommitdiff
path: root/hello/buildfile
blob: c5f21a5c59c3cc55c67a28d42be2579f32cb4d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import libs = libhello%lib{hello}

./: exe{hello} doc{version} file{manifest}

# The version file is auto-generated (by the version module) from manifest.
# Include it in distribution and don't remove when cleaning in src (so that
# clean results in a state identical to distributed).
#
doc{version}: file{manifest}
doc{version}: dist  = true
doc{version}: clean = ($src_root != $out_root)

exe{hello}: cxx{hello} $libs
exe{hello}: file{test.out}: test.stdout = true
exe{hello}: test.arguments = World "Planet #345732"