aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2/buildfile
blob: f1104d285c8ae839efb32242935ad9c970b0fbd1 (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 c cc cxx 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}