Wayne Sherman <wsher...@gmail.com> schrieb am Mi., 4. Jan. 2023, 01:13:

> On Tue, Jan 3, 2023 at 12:17 AM Sven Barth wrote:
> >> 1) How do I generate the fpmake.pp file?  Or is it created by manual
> coding?
> >
> > This is created manually and is *the* source for how to build a package.
> >
> >> 2) Does "Makefile" automatically get generated during a build or do I
> >> have to manually run FPCMake?
> >
> > You need to run fpcmake manually.
>
> Got it.  So after moving files and/or directories around in
> packages/some-package/ one has to:
>   1) Edit fpmake.pp to make sure it has the correct paths and files
>   2) Fix up any examples or lazarus project files with the correct
> paths. (if needed)
>   3) Run fpcmake -w -Tall from base package directory to regenerate
> Makefile
>

There is no need for 3 if all you do is change something inside the
fpmake.pp files and move files around. You only need to really work with
fpcmake when you change something in the rtl directory (as that still uses
that) or if a new target is added.

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to