Debian Codegraph @

test cases/d/10 d cpp/meson.build

raw
1 project('d and c++', 'd', 'cpp')
2
3 cpp = meson.get_compiler('cpp')
4 dc = meson.get_compiler('d')
5
6 if cpp.get_id() == 'clang' and dc.get_id() == 'gcc'
7 error('MESON_SKIP_TEST combining Clang C++ with GDC produces broken executables.')
8 endif
9
10 e1 = executable('dcpp', 'dmain.d', 'libfile.cpp')
11 test('dcpp', e1)
12
13 e2 = executable('cppd', 'cppmain.cpp', 'libfile.d')
14 test('cppd', e2)