kicad-developers team mailing list archive
Mailing list archive
Re: Depndency tracking
"Richard A Burton" <richardaburton@...>
Wed, 31 Oct 2007 20:58:02 +0000
> This sounds useful. Are you thinking a shell script, or an additional
> make target which would do it only when asked? I guess the generation
> of the dependencies should only be done when somebody "asks" for it, not
> on each build. Otherwise you might give up the gains you expect.
I was thinking of a new target, e.g. "make deps", which you would only
invoke the first time, and any time in the future if you got the type
of build errors which prompt you to do a clean at the moment.
I don't know how long it takes to figure out the dependencies for the
entire project, but I'm sure doing that and only rebuilding the bits
you need to will be faster than a clean and full build on most
occasions. So long as there aren't many header files that are included
in everything and change frequently yet have no real functional effect
(if there are they would probably best be refactored).
I'll try and knock something up at the weekend.