Files
RedBear-OS/local/recipes/dev/meson/source/test cases/d/10 d cpp/meson.build
T

14 lines
323 B
Meson

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)