|
|
|
@ -88,6 +88,7 @@ test('{test_name}', test_exe) |
|
|
|
|
# Make this library usable from the Dlang |
|
|
|
|
# build system. |
|
|
|
|
dlang_mod = import('dlang') |
|
|
|
|
if find_program('dub', required: false).found() |
|
|
|
|
dlang_mod.generate_dub_file(meson.project_name().to_lower(), meson.source_root(), |
|
|
|
|
name : meson.project_name(), |
|
|
|
|
license: meson.project_license(), |
|
|
|
@ -95,6 +96,7 @@ dlang_mod.generate_dub_file(meson.project_name().to_lower(), meson.source_root() |
|
|
|
|
description : 'Meson sample project.', |
|
|
|
|
version : '{version}', |
|
|
|
|
) |
|
|
|
|
endif |
|
|
|
|
''' |
|
|
|
|
|
|
|
|
|
def create_exe_d_sample(project_name, project_version): |
|
|
|
|