Best Builder to Use

Nick Sabalausky a at a.a
Fri Mar 12 10:08:16 PST 2010


"eris" <jvburnes at gmail.com> wrote in message 
news:hndt4p$303g$1 at digitalmars.com...
>
> 3. Use a different build engine.  At the moment that looks like 'rebuild',
> 'bud', 'xfbuild', make, cmaked and a few others.
>

'rebuild' is the part of dsss. When you use dsss to build something, you're 
using rebuild...which is abandoned. Plus, the best version of rebuild is 
0.76 (and not 0.78) which is difficult to get ahold of (extremely difficult 
for linux).

Like Trass3r said, xfbuild will do what you want just fine. I use it.

I don't know much about 'bud', other than it's pretty old, but some people 
use it (I know bearophile does), so I assume it must have some virtues.

As far as 'make', well, personally, I hate all forms of 'make' with a 
passion (but that's just me).

As alternatives to 'make', there's also A-A-P, Python SCons and Ruby Rake. 
None of them will do automatic D dependencies (SCons and Rake definitely 
don't, and I don't think A-A-P does, but I could be wrong), but you can use 
them to do much more than just compile D stuff (and you can use them to 
invoke 'xfbuild' if you want). A-A-P has a lot of good points, although I 
personally find the documentation confusing as hell, so I don't really 
understand how to use it particularly well. SCons and Rake, IMO beat the 
pants off of make, or at least if you're willing to write the build scripts 
in Python or Ruby and require your users to have it installed.





More information about the Digitalmars-d mailing list