aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2/buildfile
blob: beb82b2a19d300d0c1a9eed5dbbec0e614445726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# file      : tests/libbuild2/buildfile
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

import libs = build2%lib{build2}

for m: bash bin in version
  import libs += build2%lib{build2-$m}

exe{driver}: {hxx cxx}{*} $libs testscript

# Setup the test driver. Note that by default we test the build2 driver (see
# build/root.build for details).
#
testscript@./: test = exe{driver}