mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:55:59 +02:00
IDE: clean up
git-svn-id: trunk@48252 -
This commit is contained in:
parent
e34dc6d37b
commit
2e5894093b
@ -2633,7 +2633,8 @@ begin
|
||||
LCLTargetChanged:=(OldLCLWidgetType<>fLCLWidgetType);
|
||||
|
||||
if FPCTargetChanged or LCLTargetChanged then begin
|
||||
//DebugLn(['TMainIDE.SetBuildTarget Old=',OldTargetCPU,'-',OldTargetOS,'-',OldLCLWidgetType,' New=',fTargetCPU,'-',fTargetOS,'-',fLCLWidgetType,' FPC=',FPCTargetChanged,' LCL=',LCLTargetChanged]);
|
||||
if ConsoleVerbosity>=1 then
|
||||
DebugLn(['TMainIDE.SetBuildTarget Old=',OldTargetCPU,'-',OldTargetOS,'-',OldLCLWidgetType,' New=',fTargetCPU,'-',fTargetOS,'-',fLCLWidgetType,' FPC=',FPCTargetChanged,' LCL=',LCLTargetChanged]);
|
||||
end;
|
||||
if LCLTargetChanged then
|
||||
CodeToolBoss.SetGlobalValue(ExternalMacroStart+'LCLWidgetType',fLCLWidgetType);
|
||||
@ -2668,11 +2669,7 @@ begin
|
||||
NewTargetCPU:=BuildLazOpts.TargetCPU;
|
||||
NewLCLWidgetSet:=LCLPlatformDirNames[BuildLazOpts.TargetPlatform];
|
||||
end;
|
||||
if (NewTargetOS='') or (NewTargetOS='default') then
|
||||
NewTargetOS:=GetCompiledTargetOS;
|
||||
if (NewTargetCPU='') or (NewTargetCPU='default') then
|
||||
NewTargetCPU:=GetCompiledTargetCPU;
|
||||
if ConsoleVerbosity>=0 then
|
||||
if ConsoleVerbosity>=1 then
|
||||
debugln(['TBuildManager.SetBuildTargetIDE OS=',NewTargetOS,' CPU=',NewTargetCPU,' WS=',NewLCLWidgetSet]);
|
||||
SetBuildTarget(NewTargetOS,NewTargetCPU,NewLCLWidgetSet,smsfsBackground,false);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user