On Sunday, 9 June 2019 at 13:13:28 UTC, dkd wrote:
hi, i need some meson configuration that works with dmd and ldc

my setting don't work. because meson complains it cannot find the d compiler.

d compiler can be invoked on command line.

i use :
set dmd_path="path/to/d/base"
set PATH=%dmd_path%\bin;%PATH%;

mingw can be detected by setting GCC_HOME

i use win7 and x86
meson 0.50.1

Are you using Windows? Meson's D support has never been tested there. In theory though you can point it at any D compiler by setting the "DC" environment variable.

Reply via email to