summaryrefslogtreecommitdiff
path: root/hello/buildfile
blob: 2c36e0880e778d1608abfedc4939412a8a8df4e9 (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}: test.arguments = World "Planet #345732"
exe{hello}: test.output = test.out