[Lazarus] importing program into lazarus project

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jul 21 08:45:36 CEST 2008

On Mon, Jul 21, 2008 at 12:38 AM, Marc Santhoff <M.Santhoff at t-online.de> wrote:
> I have a program written using fpc only that I'd like to import into a
> lazarus project. How can this be done the easiest way?

Simply load Lazarus with a blank Lazarus project. Then open the main
unit (program) of your fpc project using 'File | Open'...  Lazarus
will detect it's a 'program' and ask if it can manage it. Say yes.
Lazarus would now have created a new .lpi file for your fpc program.
Save the project and you are ready to go.

> And what is the difference between "custom program" and "program"
> project types,

No idea what's the difference. All I know is that "program" is a Free
Pascal program and Lazarus maintains the .lpi (Lazarus Project
Information) file for that program.

 - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the Lazarus mailing list