[Lazarus] Project Group support in the IDE

Sven Barth pascaldragon at googlemail.com
Sat Sep 14 20:27:40 CEST 2013


On 14.09.2013 19:23, Martin wrote:
> On 14/09/2013 18:01, Sven Barth wrote:
>>
>> A project groups allow you to have multiple projects (packages,
>> libraries, executables) inside one project. The IDE shows you a flat
>> tree of your projects whereby one project is the active one (that one
>> will be used by "run", "compile", etc. shortcuts. You can compile
>> inactive projects by selecting the approbiate menu item ("compile" or
>> "build") from the context menu of the project. Switching the project
>> simply involves double clicking another project whereby the open
>> source editor files are not changed(!).
>>
>>> Can project groups build multiple projects all having their own compiler
>>> settings?
>>
>> Yes. They are all basically independant projects that happen to be
>> grouped together (but see below for an addendum).
>
> If there are independent, then I would expect each one to have a session
> of  which units are open in the editor(s).
> I would also expect to be able to open then outside the group, which
> would require  the session info.
>
> If they have that info, what happens to it, when you open a project, as
> you described, without changing the files open in the editor?

In the Delphi IDE the session info is coupled to the "main project" 
which can either be a single project or a project group. In the latter 
case the session info of the project group as a whole is used instead of 
the session info of the single projects if it has any.

> And: Can ONE project be in more than one group?

Yes.

Regards,
Sven




More information about the Lazarus mailing list