[Lazarus] Package filenames with _package

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Jan 7 15:02:18 CET 2018

I noticed: if the main package file has the same name as the lpk than it is not listed in that lpk, right?
> Od: Mattias Gaertner via Lazarus <lazarus at lists.lazarus-ide.org>
> Komu: lazarus at lists.lazarus-ide.org
> Datum: 07.01.2018 14:55
> Předmět: Re: [Lazarus] Package filenames with _package
On Sun, 7 Jan 2018 20:08:31 +0700
 Ondrej Pokorny via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
 > >> The package unit can have a different name as the package. See
 > >> for example synedit.  
 > >
 > > I didn't know this, and this is good to know !  
 > I didn't know this either. Where can the pas file name be changed? I 
 > can't find any entry in the Package Options dialog.
 Right click on an unit in the package editor and set File Type to "Main
 Unit". That is then the auto generated unit.
 Here is how to create a new package with this:
 http://wiki.freepascal.org/Lazarus_Packages#Create_a_package_with_a_unit_that_has_the_same_name_as_the_package <http://wiki.freepascal.org/Lazarus_Packages#Create_a_package_with_a_unit_that_has_the_same_name_as_the_package>
 If you often need to create packages a custom main unit name, feel free
 to create a new package type or an initial setup dialog.
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org
 https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180107/88888e6d/attachment.html>

More information about the Lazarus mailing list