2009/4/26 Guillermo Martínez Jiménez <gmji...@burdjia.com>:
>> From: Graeme Geldenhuys <graemeg.li...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to