mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 07:59:35 +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
|
||||
ttProject:
|
||||
begin
|
||||
ToolTitle := Format(lisCompileProject, [ExtractFileNameOnly(Filename)]);
|
||||
ToolTitle := Format(lisCompileProject, [Filename]);
|
||||
if aBuildMode<>'' then
|
||||
ToolTitle += Format(lisBuildMode, [aBuildMode]);
|
||||
ToolKind := lisOtherProject;
|
||||
end;
|
||||
ttPackage:
|
||||
begin
|
||||
ToolTitle := Format(lisCompilePackage, [ExtractFileNameOnly(Filename)]);
|
||||
ToolTitle := Format(lisCompilePackage, [Filename]);
|
||||
ToolKind := lisPackage;
|
||||
end;
|
||||
else exit;
|
||||
|
@ -329,8 +329,7 @@ begin
|
||||
TargetCPU:=AProject.CompilerOptions.GetEffectiveTargetCPU;
|
||||
if TargetCPU<>GetCompiledTargetCPU then
|
||||
Title+=Format(lisCPU, [TargetCPU]);
|
||||
TargetFilename:=AProject.GetShortFilename(
|
||||
AProject.CompilerOptions.CreateTargetFilename,false);
|
||||
TargetFilename:=AProject.CompilerOptions.CreateTargetFilename;
|
||||
if TargetFilename<>'' then
|
||||
Title+=Format(lisTarget2, [TargetFilename]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user