digitalmars.D.learn - What tool(s) do you use to build a large D project?
- coredumper (6/6) Jun 02 2013 Hello!
- Adam D. Ruppe (6/6) Jun 02 2013 I just use plain old makefiles. I generally start with
- estew (11/11) Jun 02 2013 I'm new to D but I'm using cmake2d as it slots right in with our
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
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
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