[fpc-pascal] Alternative to Makefiles for fpGUI

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Aug 10 14:08:43 CEST 2007


On 10/08/07, Michael Van Canneyt <michael at freepascal.org> wrote:

>     T:=Targets.AddUnit('myunit');
>     T.ResourceStrings:=True;
>     T:=Targets.AddUnit('myprogram');
>     T.AddDependency('myunit');

Does this take directories as well?
Here is a fpGUI layout example:

Windows:
   src/corelib/gdi/gfx_gdi.pas

Linux:
   src/corelib/x11/gfx_x11.pas

Carbon:
   src/corelib/carbon/gfx_carbon.pas

Common to all platforms:
   src/corelib/fpgui.pas
   src/corelib/gfxbase.pas
   src/gui/gui_*.pas


> The idea is that everyone who programs pascal, knows pascal,
> and so the 'make' tool should also be in pascal...

That's a fair assumption. :)


> ./fpmake --install
>
> will install it.

Install to where?


> ./fpmake --archive
>
> will create a zip.

This is handy!


Regards,
  - Graeme -



More information about the fpc-pascal mailing list