[gsoc] DUB - Ideas

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Mar 6 12:23:07 UTC 2019


On Tuesday, 5 March 2019 at 10:44:04 UTC, Atila Neves wrote:
> Try starting a new dub project that depends on autowrap v0.2.0.

Indeed if you just add a regular dub dependency this won't work 
(because dub doesn't know how to check out the pyd submodule).  
But try instead:

* in your main project add a submodule for autowrap (checking out 
v0.2.0)

* in your dub config specify the dependency as

       "autowrap": { "path": "./path/to/autowrap_submodule" }

(or whatever the SDL equivalent is).

That works.



More information about the Digitalmars-d mailing list