[fpc-devel] build unit dependency list

Vincent Snijders vsnijders at quicknet.nl
Tue Aug 8 20:05:17 CEST 2006


Mario R. Carro wrote:
> On Saturday 05 August 2006 10:39, Peter Vreman wrote:
> 
>>At 14:53 4-8-2006, you wrote:
>>
>>>Hi, I have a few hand made makefiles for some (up to now) Delphi
>>>projects that
>>>I use to build the releases. I would want to be able to automagically
>>>generate the dependencies for the units in the projects.
>>
>>It is normally a lot faster to create a buildunit that references all
>>other units and let the compiler decide if it needs to rebuild a unit or
>>not.
>>
> 
> 
> Yes, but that would mean that I must manually update that unit everytime a new 
> item is added the the uses clause of any unit of the projects... I want 
> exactly the opposite: automatic dependency discovery for the (re)generation 
> of the releases and for project auditing.
> 

Compile the project and all dependent units get recompiled, if they need 
to be recompiled.

Vincent



More information about the fpc-devel mailing list