Who here actually uses D?
gölgeliyele
usuldan at gmail.com
Sun Feb 13 16:45:28 PST 2011
>
> I use an incremental build with Makefiles.
>
> Hope that helps,
> Ned
Hi,
Can you tell me how you used incremental build with Makefiles? I
don't know much about D1, but it most likely has similar module and
build support as D2. I have been playing around with incremental build
with dmd today (I couldn't find good info on the web). My solution was
to use a makefile as well, but it required some advanced techniques,
such as:
- dmd compiler's -deps option to find out what are the dependencies of
a module, which required simple post processing
- GNU make's auto-dependency generation capabilities (mostly the
ability to generate dependency stuff during make and at the same time
include them into the makefile)
I have too worries about this:
1) Requires experience with make and DMD, not easily gained through
reading documentation
2) GNU make is not easily available on all platforms
If you have a solution that is more straightforward please let me
know.
Also: How much time it takes for you to do a wholesale compilation
versus incremental (say after changing a single file)?
More information about the Digitalmars-d
mailing list