The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
323 B

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)