[fpc-pascal] Testing applications with FPCUnit
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Dec 17 19:11:39 CET 2011
On Sat, 17 Dec 2011 17:47:49 +0100
Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:
> On Sat, Dec 17, 2011 at 5:03 PM, Luciano de Souza <luchyanus at gmail.com> wrote:
> > I can compile using callings like:
> > fpc test.pas
> > fpc -XX test.pas
> > fpc test.pas -Fu./pas -FE./exe
>
> You can compile Lazarus projects in the command line using lazbuild
> which comes with Lazarus, like this:
>
> lazbuild project.lpi
>
> It will build all required projects and otherwise do everything the
> IDE would do to build the project. The only catch might be if the
> package requires a package that your Lazarus doesn't know. I don't
> know which configuration file would need to be modified to tell
> Lazarus where a package is without opening the IDE.
lazbuild path/packagename.lpk
Mattias
More information about the fpc-pascal
mailing list