Just posted: Detailed guide to using Visual D with external library
Rainer Schuetze via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Thu Jun 12 13:14:53 PDT 2014
On 12.06.2014 20:40, Lawrence Lewis wrote:
> After kind of tearing my hair out to get this to work, I created
> a guide so others won't have to sweat.
>
> It's Word document in GitHub: git at github.com:lel4866/DGuides.git
>
> named "Using a Visual D Project with a Separate D Library.docx"
Thanks for writing this guide.
A few comments:
- there is a typo "ConsolApp"
- the second source for main.d already contains "import lib;" though the
text suggests it should not.
- link dependencies can be set a bit easier: Open the "Project
Dependencies" dialog in the Project menu, and select the ConsoleApp
project. Then check the box for the StaticLib project. This will add the
StaticLib library to the linker command line of ConsoleApp automatically.
I was considering adding the import paths of dependent projects
automatically to the dmd command line some time ago, but never got to
it. I guess that would be a good addition.
I would recommend converting the text to html or similar to make it
easier accessible than a docx file. You could even publish it using
io-pages on github (see https://help.github.com/categories/20/articles).
More information about the Digitalmars-d-ide
mailing list