mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 13:17:03 +02:00
IDE: Show full file path for a build target. Project is often "project1".
This commit is contained in:
parent
229162c203
commit
a056886b72
@ -1481,14 +1481,14 @@ begin
|
|||||||
case TargetType of
|
case TargetType of
|
||||||
ttProject:
|
ttProject:
|
||||||
begin
|
begin
|
||||||
ToolTitle := Format(lisCompileProject, [ExtractFileNameOnly(Filename)]);
|
ToolTitle := Format(lisCompileProject, [Filename]);
|
||||||
if aBuildMode<>'' then
|
if aBuildMode<>'' then
|
||||||
ToolTitle += Format(lisBuildMode, [aBuildMode]);
|
ToolTitle += Format(lisBuildMode, [aBuildMode]);
|
||||||
ToolKind := lisOtherProject;
|
ToolKind := lisOtherProject;
|
||||||
end;
|
end;
|
||||||
ttPackage:
|
ttPackage:
|
||||||
begin
|
begin
|
||||||
ToolTitle := Format(lisCompilePackage, [ExtractFileNameOnly(Filename)]);
|
ToolTitle := Format(lisCompilePackage, [Filename]);
|
||||||
ToolKind := lisPackage;
|
ToolKind := lisPackage;
|
||||||
end;
|
end;
|
||||||
else exit;
|
else exit;
|
||||||
|
@ -329,8 +329,7 @@ begin
|
|||||||
TargetCPU:=AProject.CompilerOptions.GetEffectiveTargetCPU;
|
TargetCPU:=AProject.CompilerOptions.GetEffectiveTargetCPU;
|
||||||
if TargetCPU<>GetCompiledTargetCPU then
|
if TargetCPU<>GetCompiledTargetCPU then
|
||||||
Title+=Format(lisCPU, [TargetCPU]);
|
Title+=Format(lisCPU, [TargetCPU]);
|
||||||
TargetFilename:=AProject.GetShortFilename(
|
TargetFilename:=AProject.CompilerOptions.CreateTargetFilename;
|
||||||
AProject.CompilerOptions.CreateTargetFilename,false);
|
|
||||||
if TargetFilename<>'' then
|
if TargetFilename<>'' then
|
||||||
Title+=Format(lisTarget2, [TargetFilename]);
|
Title+=Format(lisTarget2, [TargetFilename]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user