summaryrefslogtreecommitdiff
path: root/mhello/buildfile
blob: 062fef146f3b71a83ec23db24bb448645dcb6d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import libs  = libmhello%lib{mhello}
import libs += libstd-modules%liba{std-modules}

./: 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