www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How can I override the defeat compiler select by Dub?

reply Mike Brockus <michael squidfarts.com> writes:
If you never seen Meson before then pick up a camera and take a 
picture:
πŸ€” πŸ‘‰ https://mesonbuild.com/

Hometown Meson user here simply just wondering how can I tell Dub 
to use dmd to compile my dependence in Meson?  It’s one of the 
last things blocking me from having healthy D Meson projects that 
integrate nicely with Dub based projects.
Jun 23 2019
parent evilrat <evilrat666 gmail.com> writes:
On Sunday, 23 June 2019 at 23:10:48 UTC, Mike Brockus wrote:
 If you never seen Meson before then pick up a camera and take a 
 picture:
 πŸ€” πŸ‘‰ https://mesonbuild.com/
Nope. Wasn't working on Windows last time I checked.
 Hometown Meson user here simply just wondering how can I tell 
 Dub to use dmd to compile my dependence in Meson?
Isn't there anything in meson recipe to tell dub use --compiler=ldc2 switch? Or you can also try moving LDC/GDC in your %PATH% so that they come before DMD (works on Windows).
Jun 23 2019