mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 08:36:15 +02:00
lazbuild: fixed append --build-ide options
git-svn-id: trunk@36195 -
This commit is contained in:
parent
fffcde8e44
commit
61bae46e30
@ -406,6 +406,7 @@ var
|
|||||||
InheritedOptionStrings: TInheritedCompOptsStrings;
|
InheritedOptionStrings: TInheritedCompOptsStrings;
|
||||||
TargetDir: String;
|
TargetDir: String;
|
||||||
i: Integer;
|
i: Integer;
|
||||||
|
s: String;
|
||||||
begin
|
begin
|
||||||
Result:=false;
|
Result:=false;
|
||||||
Init;
|
Init;
|
||||||
@ -447,9 +448,11 @@ begin
|
|||||||
CurProf.TargetPlatform:=GetDefaultLCLWidgetType;
|
CurProf.TargetPlatform:=GetDefaultLCLWidgetType;
|
||||||
if BuildIDEOptions<>'' then
|
if BuildIDEOptions<>'' then
|
||||||
begin
|
begin
|
||||||
if CurProf.ExtraOptions<>'' then
|
s:=CurProf.ExtraOptions;
|
||||||
CurProf.ExtraOptions:=CurProf.ExtraOptions+' ';
|
if s<>'' then
|
||||||
CurProf.ExtraOptions:=CurProf.ExtraOptions+BuildIDEOptions;
|
s+=' ';
|
||||||
|
s+=BuildIDEOptions;
|
||||||
|
CurProf.ExtraOptions:=s;
|
||||||
end;
|
end;
|
||||||
if BuildAll then
|
if BuildAll then
|
||||||
CurProf.IdeBuildMode:=bmCleanAllBuild;
|
CurProf.IdeBuildMode:=bmCleanAllBuild;
|
||||||
|
Loading…
Reference in New Issue
Block a user