aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function/buildfile
blob: 27c73d153452a6df641af812da759e113ca22ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# file      : unit-tests/function/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 \
config/{utility init operation}


exe{driver}: cxx{driver} ../../build2/cxx{$src} $libs test{call syntax}

include ../../build2/