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

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

include ../../build2/