[fpc-pascal] Re: How to use fpcmake
Henry Vermaak
henry.vermaak at gmail.com
Mon Apr 27 10:54:21 CEST 2009
2009/4/26 Guillermo Martínez Jiménez <gmjimen at burdjia.com>:
>> From: Graeme Geldenhuys <graemeg.lists at g...>
>> Subject: Re: [fpc-pascal] How to use fpcmake
>>
>> Hi Guillermo,
>>
>> I struggled with it as well. Henry Vermaak then created an example for
>> me and showed how to use it. The example he did was for the fpGUI
>> Toolkit project.
>
> I did read Vermaak's example and I've found some documentation at the
> wiki (http://wiki.lazarus.freepascal.org/FPMake) but I can't
> understand it. That's the program I wrote:
i'm sorry my example is a bit crap, never got round to do it properly.
it's best if you work off something in the fpc sources. for example
in packages/mysql/fpmake.pp there is this:
T:=P.Targets.AddUnit('mysql3_com.pp');
with T.Dependencies do
begin
AddInclude('mysql3_comtypes.inc');
AddUnit('mysql3_version');
end;
henry
More information about the fpc-pascal
mailing list