aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/buildfile
blob: aaeadc9632e5c9d58f77df2d6076979fe261f697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# file      : unit-tests/test/script/lexer/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 diagnostics utility variable name b-options types-parsers \
context scope parser target operation rule prerequisite file module function \
functions-builtin functions-path functions-process-path functions-string \
functions-target-triplet algorithm search dump filesystem scheduler \
config/{utility init operation} test/script/{token lexer}

exe{driver}: cxx{driver} ../../../../build2/cxx{$src} $libs \
test{command-line first-token second-token command-expansion variable-line \
     description-line variable}

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