[Lazarus] Default project ?

Bo Berglund bo.berglund at gmail.com
Wed Nov 18 21:31:44 CET 2020

On Wed, 18 Nov 2020 21:19:00 +0100 (CET), Michael Van Canneyt via
lazarus <lazarus at lists.lazarus-ide.org> wrote:

>On Wed, 18 Nov 2020, Bo Berglund via lazarus wrote:
>>> Because it needs a project. It cannot work without one, so it creates one.
>>> So if the hypothetical option -np would be implemented, you would definitely be
>>> presented with the same 'project wizard' dialog you get when you close the project
>>> with "Project - Close Project".
>> OK, so if the last project opened is seriously flawed (for this
>> Lazarus) and crashes Lazarus, how can one ever remedy that?
>At this moment not without changing the config files manually, I think.
>But you could have a command-line option that allows to start Lazarus simply
>with an empty project instead of the last one.
>And that 'empty project' is what I want to have configurable... :-)

So, what is that command-line option then?

Do I first need to create an empty project, which can be thrown at
Lazarus on startup?
Or is there a command line option like Delphi's -np also for Lazarus
that I have missed?

I pretty often install Lazarus/Fpc on new devices (often Raspberry Pi
units) so I will now and then hit this problem if I forget to
reconfigure base Lazarus with the packages I usually need.

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list