aboutsummaryrefslogtreecommitdiff
path: root/tests/cpfile/buildfile
blob: 41275fa52a049e69ec121094053f32558e21bcac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# file      : tests/cpfile/buildfile
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

import libs = libbutl%lib{butl}

if ($cxx.features.modules && ($force_std_modules == true || $cxx.id != 'msvc'))
{
  import libs += libstd-modules%liba{std-modules}
  cxx.poptions += -D__cpp_lib_modules
}

exe{driver}: {hxx cxx}{*} $libs