www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - What tool(s) do you use to build a large D project?

reply "coredumper" <me example.com> writes:
Hello!

What tool(s) do you use to build a D project? I looked at cmaked 
(and cmaked2) but both projects seem not to be under active 
development, there is also a bunch of other tools like dsss but 
all of them are an abandonware. So, if you are seriously using D, 
how do you build you projects? What is the mainstream way?
Jun 02 2013
next sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
I just use plain old makefiles. I generally start with

all:
     dmd *.d <flags>

and then break it out just like I would with a C++ project when 
the need arises (actually pretty rare, this works quite well even 
for my larger stuff).
Jun 02 2013
prev sibling parent "estew" <estewh gmail.com> writes:
I'm new to D but I'm using cmake2d as it slots right in with our 
existing CMake build system for C++/Java/Python. When I updated 
to CMake 2.8.10 I found Kitware had introduced breaking changes 
and a minor refactor was required.


This link explains it:
http://public.kitware.com/pipermail/cmake-developers/2012-October/005535.html

as does this:
https://code.google.com/p/cmaked2/issues/detail?id=21


It was a simple sed on the *.cmake files in cmake2d sources.

I also find rdmd extremely useful for building small test 
programs to test ideas and also scripting.
Jun 02 2013