aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/buildfile
blob: c417a081a5e8d612ba51bb6fa866217ca8bb1d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# file      : tests/manifest/buildfile
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

#exe{driver}: cxx{driver} ../../bpkg/lib{bpkg}
#exe{driver}: test.roundtrip = manifest

# @@ Hack until build2 supports multiple tests. Also remove .gitignore.
#
./: exe{pdriver} exe{rdriver} exe{sdriver}

exe{pdriver}: obj{pdriver}
exe{pdriver}: test.roundtrip = packages

exe{rdriver}: obj{rdriver}
exe{rdriver}: test.roundtrip = repositories

exe{sdriver}: obj{sdriver}
exe{sdriver}: test.roundtrip = signature

obj{pdriver rdriver sdriver}: cxx{driver}
exe{pdriver rdriver sdriver} obj{pdriver rdriver sdriver}: ../../bpkg/lib{bpkg}

obj{pdriver}: cxx.poptions += -DTEST_PACKAGES
obj{rdriver}: cxx.poptions += -DTEST_REPOSITORIES
obj{sdriver}: cxx.poptions += -DTEST_SIGNATURE

include ../../bpkg/