aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/buildfile
blob: d25d9bfdbc5b912fd0c350eb87f7e361e473947c (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-2017 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 functions-target-triplet 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 directive exit \
     expansion here-document here-string include pipe-expr pre-parse \
     redirect regex scope scope-if setup-teardown}

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