blob: 46fe0a2ebb834720d06393aacbb12f8340ee037f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# file : tests/buildfile
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
if! $cxx.features.modules
{
# List sources as files so that we can prepare a distribution with any
# compiler.
#
./: cxx{*} file{test.out}
}
else
{
import libs = libstd-modules%liba{std-modules}
exe{driver}: cxx{driver} $libs
exe{driver}: file{test.out}: test.stdout = true
}
|