Hi,
just started experimenting with new project groups and I can't compile all projects that I've inserted into project group.
When I click on the project group name (top level node) and then click on Compile button following messages appear:
Compile Project DLL1, build mode "Debug": Exit code 2, Errors: 2
Error: (lazarus) invalid Lazarus directory "": directory lcl not found
Error: (lazarus) Building failed: D:\Data\DLL1.lpi
DLL1.lpi is one of the currently closed projects.
Wiki
http://wiki.lazarus.freepascal.org/Project_Groups says:
When compiling a non active project the external tool lazbuild is called and output is shown in the Messages window. Hints/Warnings/Errors of files outside the active project or its packages might be interpreted wrong by the IDE.
But all projects from the project group compile fine when opened in Lazarus independently.
Is it a bug in Lazarus?
I would expect the same behavior as in Delphi.
Mean to be able to batch build all inserted projects with project dependency options exactly like they are in Delphi.
(in Delphi when I double click on Debug configuration for primary project all dependent projects compile in Debug mode as welll; the same for Release configuration etc.)