mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 20:55:54 +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;
|
||||
TargetDir: String;
|
||||
i: Integer;
|
||||
s: String;
|
||||
begin
|
||||
Result:=false;
|
||||
Init;
|
||||
@ -447,9 +448,11 @@ begin
|
||||
CurProf.TargetPlatform:=GetDefaultLCLWidgetType;
|
||||
if BuildIDEOptions<>'' then
|
||||
begin
|
||||
if CurProf.ExtraOptions<>'' then
|
||||
CurProf.ExtraOptions:=CurProf.ExtraOptions+' ';
|
||||
CurProf.ExtraOptions:=CurProf.ExtraOptions+BuildIDEOptions;
|
||||
s:=CurProf.ExtraOptions;
|
||||
if s<>'' then
|
||||
s+=' ';
|
||||
s+=BuildIDEOptions;
|
||||
CurProf.ExtraOptions:=s;
|
||||
end;
|
||||
if BuildAll then
|
||||
CurProf.IdeBuildMode:=bmCleanAllBuild;
|
||||
|
Loading…
Reference in New Issue
Block a user