[fpc-pascal] Re: How to use fpcmake

Michael Van Canneyt michael at freepascal.org
Mon Apr 27 09:33:03 CEST 2009

On Mon, 27 Apr 2009, Graeme Geldenhuys wrote:

> 2009/4/26 Guillermo Martínez Jiménez <gmjimen at burdjia.com>:
> >
> > It compiles but when I run "./fpmake archive" it returns a lot of
> > "Warning: source file * not found for *" but they actually exists(!).
> I actually have no idea how to add include files. The example Henry
> created only sets up the include paths, but not include files for
> 'archive' functionality.
> I browser the sources and noticed there is Sources.Add(), but I'm not
> sure if that will do the trick.
> eg:
>    T := P.Sources.AddSrc('filename_here');

There is also:

procedure TSources.AddSrcFiles(const AFileMask: string; Recursive: boolean);

It does a search and adds all files.


More information about the fpc-pascal mailing list