[fpc-devel] The future of fpmake

Joost van der Sluis joost at cnoc.nl
Thu Mar 31 18:00:48 CEST 2011


On Thu, 2011-03-31 at 17:47 +0200, dhkblaszyk at zeelandnet.nl wrote:
> > Thisnfeature is already there. When you use fpmake directly: -f, if 
> > you use
> > fppkg (what I would recommend): fppkg -c.
> 
>  Thanks, I will have a look how it works. I'll try to document it on the 
>  wiki.
> 
>  On the side, fppkg is only for FPC right? So not useful for standalone 
>  projects.

You can use fppkg also to install your own (standalone) application, I
don't see why not?

In fact, fppkg is only a wrapper. When you run fppkg, it will search for
a file called 'fpmake.pp'. If this file is found it is compiled and
run. 

There are some extra's, like downloading packages from a repository and
installing them. And rebuild all packages which are dependent on the
package being re-compiled. 

For example: if I make a change in fcl-db, and use fppkg to compile &
install the new version, it will automatically rebuild & install all
other packages which are depending on fcl-db. With the lazarus-addin it
will even mark the Lazarus-package so that it will be recompiled when
you compile your program. 

Joost.




More information about the fpc-devel mailing list