aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/10 d cpp/meson.build
blob: eecb151f48d5728b551f2f0b63cd21b7b90be2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project('d and c++', 'd', 'cpp')

cpp = meson.get_compiler('cpp')

if cpp.get_id() == 'clang'
  error('MESON_SKIP_TEST combining Clang C++ with GDC produces broken executables.')
endif

e1 = executable('dcpp', 'dmain.d', 'libfile.cpp')
test('dcpp', e1)

e2 = executable('cppd', 'cppmain.cpp', 'libfile.d')
test('cppd', e2)