www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - A DUB Case Study: Compiling DMD as a Library

Jacob Carlborg announced here recently that he had configured DMD 
to compile as a library. From there, he decided to write a blog 
post intended as an introduction to DUB, with the 
DMD-as-a-library bit as a case study. I convinced him to post it 
on The D Blog and then deviously hijacked his title to put the 
focus on the DMD-as-a-library bit, because that's just cool.

Blog:
https://dlang.org/blog/2017/08/01/a-dub-case-study-compiling-dmd-as-a-library/

reddit:
https://www.reddit.com/r/programming/comments/6qwl5n/using_dub_the_d_build_tool_package_manager_to/
Aug 01 2017