How to add third party libraries to the project. (Xamarin)

ZombineDev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 4 11:21:58 PST 2015


On Friday, 4 December 2015 at 19:15:57 UTC, ZombineDev wrote:
>
> The myproj/dub.json file contains:
> {
>     "name": "myproj",
>     "description": "A minimal D application.",
>     "copyright": "Copyright © 2015, ubuntu",
>     "authors": ["ubuntu"],
>     "dependencies": {
>         "derelict-sdl2": "1.9.7"
>     }
> }

Instead of ubuntu, it will probable display the username of your 
machine.

> To build this sample application with DUB you need
> to run only the following command:
>
> dub

Assuming that you're inside the folder myproj. Otherwise you'll 
need to run:

dub --root=./myproj



More information about the Digitalmars-d-learn mailing list