BuildIntf: publish LazProject1 so that it can be read from packages

This commit is contained in:
Ondrej Pokorny 2022-12-30 21:32:32 +01:00
parent 5d4e6e72e4
commit 76e16c5bd1
2 changed files with 4 additions and 1 deletions

View File

@ -675,6 +675,9 @@ procedure RegisterProjectDescriptor(ProjDesc: TProjectDescriptor;
const Category, Caption, Description, Units: string);
}
var
LazProject1: TLazProject = nil; // the main project
implementation
procedure RegisterProjectFileDescriptor(FileDesc: TProjectFileDescriptor);

View File

@ -1188,7 +1188,7 @@ const
);
var
Project1: TProject = nil;// the main project
Project1: TProject absolute LazProject1;// the main project
function FilenameToLazSyntaxHighlighter(Filename: String): TLazSyntaxHighlighter;
function AddCompileReasonsDiff(const PropertyName: string;