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
377 B
14 lines
377 B
project('d and c++', 'd', 'cpp') |
|
|
|
cpp = meson.get_compiler('cpp') |
|
dc = meson.get_compiler('d') |
|
|
|
if cpp.get_id() == 'clang' and dc.get_id() == 'gcc' |
|
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)
|
|
|