[Lazarus] Installing LazReport - 8.0 or 0.9.7 - what version??

Marcos Douglas md at delfire.net
Mon Aug 30 16:11:47 CEST 2010


2010/8/30 Frank Church <vfclists at gmail.com>:
>
>
> On 30 August 2010 08:50, Sven Barth <pascaldragon at googlemail.com> wrote:
>>
>> Am 30.08.2010 09:41, schrieb Frank Church:
>>>
>>> I have now begun using some of my own files regularly in my projects and
>>> I need to store them in one place rather than copy them to every
>>> project's folder.
>>>
>>> I have created a folder called m:\lazaruslibs\mylib with the source in
>>> ..\sources and units in ..\units.
>>> In the Compiler Options for the project, on the Paths tab I have added
>>> m:\lazaruslibs\mylib\units to the Other Unit Files (-Fu) box and added
>>> m:\lazaruslibs\mylib\units to the Other Sources (.pp/.pas, only used by
>>> IDE,not by compiler) box.
>>>
>>> It is working fine but I is there a way to configure things in such a
>>> way that it is present in every project without having to add it
>>> everytime, like it is automatically present in the IDE?
>>
>> Another possibility (preferred by me) is to add your units to a package
>> and to include your package with every project.
>
> I am thinking along this line but I don't know how to go about. I usually
> drag a component onto a project form for the components unit to be added to
> the file I am working on. My units are source units only, not components.
> What is the right way to add a non visual package to a project, no
> components, visual or otherwise, just plain source code? I am yet to build a
> Lazarus package.

Add the package as requirement in the project inspector.

Vincent




More information about the Lazarus mailing list