mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 23:40:22 +02:00
Converter: Code formatting and cleaning
git-svn-id: trunk@30129 -
This commit is contained in:
parent
3b73383835
commit
da1729de31
@ -1336,12 +1336,11 @@ begin
|
||||
end;
|
||||
finally
|
||||
AllPath:=fUnitSearchPaths.DelimitedText;
|
||||
// set unit paths to find all project units
|
||||
LazProject.CompilerOptions.OtherUnitFiles:=
|
||||
MergeSearchPaths(LazProject.CompilerOptions.OtherUnitFiles,AllPath);
|
||||
// set include path
|
||||
LazProject.CompilerOptions.IncludePath:=
|
||||
MergeSearchPaths(LazProject.CompilerOptions.IncludePath,AllPath);
|
||||
// set unit and include paths for project
|
||||
with LazProject.CompilerOptions do begin
|
||||
OtherUnitFiles:=MergeSearchPaths(OtherUnitFiles,AllPath);
|
||||
IncludePath:=MergeSearchPaths(IncludePath,AllPath);
|
||||
end;
|
||||
// clear caches
|
||||
LazProject.DefineTemplates.SourceDirectoriesChanged;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user