On Mon, 27 Apr 2009, Graeme Geldenhuys wrote:

> 2009/4/26 Guillermo Martínez Jiménez <gmji...@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.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to