[fpc-pascal] Testing applications with FPCUnit

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Dec 17 17:47:49 CET 2011


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.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list