aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/buildfile
blob: db75a4fe1c98276b3e47932f35ff9c0f459517e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# file      : unit-tests/test/script/parser/buildfile
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

#@@ Temporary until we get utility library support.
#
if ($cxx.target.class != "windows")
  cxx.libs += -lpthread
import libs = libbutl%lib{butl}
src = token lexer parser diagnostics utility variable name context target \
scope prerequisite file module operation rule b-options algorithm search \
filesystem function functions-builtin functions-path functions-process-path \
functions-string config/{utility init operation} dump types-parsers \
test/{target script/{token lexer parser regex script}} \
scheduler

exe{driver}: cxx{driver} ../../../../build2/cxx{$src} $libs \
test{cleanup command-if command-re-parse description exit expansion \
     here-document here-string include pipe-expr pre-parse redirect \
     scope scope-if setup-teardown}

include ../../../../build2/