Wrapping a Dub project inside Meson

Adnan contact.adnan.02 at protonmail.com
Thu Nov 22 02:46:03 UTC 2018


Does anyone have experience with using meson to wrap around a dub 
project?

I have a typical dub project, meaning I have a dub dependency but 
I want to use meson for two reasons:

1. I want to distribute the application in form of a snap package 
(https://snapcraft.io/). Snapcraft does not recognize dub as a 
build tool afaik.

2. dub lacks very basic options like installing an app in users' 
PATH (https://github.com/dlang/dub/issues/839). The issue seems 
to be stalled for a while, which is quite a shame.

What I want to do is basically when I write `ninja` it should 
invoke `dub build`.


More information about the Digitalmars-d-learn mailing list