[fpc-pascal] fpcmake packaging

Michael Van Canneyt michael at freepascal.org
Tue Sep 1 14:39:34 CEST 2020



On Tue, 1 Sep 2020, Ryan Joseph via fpc-pascal wrote:

> I've never used fpcmake before and instead relied on my own custom build system solutions which are a pain to maintain and non-standard which it makes extra work configuring the pascal language server I'm using now.
>
> My first question of fpcmake is, can I package application bundles and copy resources using it? For example some things I need to do:
>
> - create a directory structure and copy the executable into it
> - copy resource files that may have changed
> - run some shell commands which apple provides for compiling various resources files
> - copy a info.plist text file and replace some patterns in the file to reflect the build version
>
> Are those the kind of things fpcmake can do or do I need another build system for this?

Are you talking about fpcmake or fpmake ?
The former just generates a Makefile based on a .ini template.

The latter is an environment for compiling, but it is pascal code so you can
do anything you want in it.

Michael.


More information about the fpc-pascal mailing list