<div dir="ltr"><div dir="ltr">What you want is FPMake, not FPCMake. FPCMake is just a generator of GNU makefiles. As Michael said elsewhere though, FPMake is an API designed specifically for compiling FPC programs, basically. You write a program using the API, put it in a file that should always be called "fpmake.pp", and then either invoke fppkg on it or just literally build it with FPC yourself and run it (as in like, either "fppkg build" in the directory where your "fpmake.pp" is, or "fpc ./fpmake.pp && ./fpmake build" in the directory where your "fpmake.pp" is). Again though, since it is literally just a program, you can also put any custom logic you want in there.<div><br></div><div>See here for more info: <a href="https://wiki.freepascal.org/FPMake">https://wiki.freepascal.org/FPMake</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 1, 2020 at 9:05 AM Ryan Joseph via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.<br>
<br>
My first question of fpcmake is, can I package application bundles and copy resources using it? For example some things I need to do:<br>
<br>
- create a directory structure and copy the executable into it<br>
- copy resource files that may have changed<br>
- run some shell commands which apple provides for compiling various resources files<br>
- copy a info.plist text file and replace some patterns in the file to reflect the build version<br>
<br>
Are those the kind of things fpcmake can do or do I need another build system for this?<br>
<br>
Regards,<br>
Ryan Joseph<br>
<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div></div>