aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/buildfile
blob: d3c55f8de3c7b4c8343f8e3d8ffadb6ee34a84dc (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
29
30
31
32
# file      : tests/manifest/buildfile
# copyright : Copyright (c) 2014-2017 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}

import libs += libbutl%lib{butl}

exe{pdriver rdriver sdriver} obj{pdriver rdriver sdriver}: \
  ../../bpkg/lib{bpkg} $libs

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

include ../../bpkg/