aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/D.md
diff options
context:
space:
mode:
authorFFY00 <filipe.lains@gmail.com>2018-06-17 19:49:36 +0100
committerFFY00 <filipe.lains@gmail.com>2018-06-17 22:35:22 +0100
commita4777376379cf685a43c5325761b42354e53a1f1 (patch)
tree29783437951f7ad0f1695e836bc80fe947a80c34 /docs/markdown/D.md
parentec01a7742168560614e5d1a9b7677c28f002fde7 (diff)
downloadmeson-a4777376379cf685a43c5325761b42354e53a1f1.zip
meson-a4777376379cf685a43c5325761b42354e53a1f1.tar.gz
meson-a4777376379cf685a43c5325761b42354e53a1f1.tar.bz2
docs: add documentation related to dub and the dlang module
Diffstat (limited to 'docs/markdown/D.md')
-rw-r--r--docs/markdown/D.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/D.md b/docs/markdown/D.md
index 7b0d485..0956166 100644
--- a/docs/markdown/D.md
+++ b/docs/markdown/D.md
@@ -87,3 +87,8 @@ executable('myapp', myapp_src, dependencies: [mylib_dep])
Please keep in mind that the library and executable would both need to be built with the exact same D compiler and D compiler version. The D ABI is not
stable across compilers and their versions, and mixing compilers will lead to problems.
+
+# Integrating with DUB
+
+DUB is a fully integrated build system for D, but it is also a way to provide dependencies. Adding dependencies from the [D package registry](https://code.dlang.org/) is pretty straight forward.
+You can find how to do this in [Dependencies](Dependencies.md#Dub). You can also automatically generate a `dub.json` file as explained in [Dlang](Dlang-module.md#generatedubfile).