aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/buildfile
blob: 0696a1c7c82fd0f274d46cb682d687e18d3cceaa (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
# 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{pdriver}: obj{pdriver}
exe{pdriver}: test.roundtrip = packages

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

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

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

include ../../bpkg/