D Development Process

What is the recommended development process for D programs that use packages that are cloned from github and built separately?

Generally, regarding how C / C ++ projects are created using make, autotools, cmake, etc.

Most other build specifications have an installation purpose. If the assembly has an installation purpose, or should we just link the library directly from where it is located during construction and add a register, does it include D_INCLUDE_PATH , and then goes to them using DFLAGS=-I<D_INCLUDE_PATH> ?

+7
source share
2 answers

I understand that my comment can really be the answer to the question, so here it is:

The development process of D cannot be different from that in the world of C or C ++. Is it really hard to understand? Almost all C and C ++ compilers generate their own code. D is no exception. There was a D.NET project that could focus on .NET, but it has been inactive for years ...

In addition, all the tools used in C / C ++-based projects can be easily used for anything else. CMake can also be used in Java or .NET projects. The same goes for Make and / or Autotools. Why Maven and Ant are more popular in the Java world is a completely different story.

Speaking of them, you can use Maven or Ant in the development process of D! Hands down, you need to write your own Maven plugins to make it easier and more flexible, but this is doable, and would actually be a very enjoyable project.

From what I saw, D programmers stick to a good, old Make or write a BASH script to do all this. However, I have seen people from Lycus using the WAF background. If you are a Python programmer, you just love WAF. If not, try these things - I have seen people use SCons, Remake, Premake, etc.

DSSS + Rebuild is the closest to a very useful tool created with D. Unfortunately, these are dead projects. :(

I am working on a maven style tool, but given the amount of time that I have, it will be used in 2014. :)

+2
source

I would go with accounts that have D support, thanks to Russell Winder:

http://scons.tigris.org/ds/viewMessage.do?dsForumId=1268&dsMessageId=2959039

If not, then POM (plain old make).

+2
source

All Articles