mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-26 04:48:14 +01:00
IDE: project: fixed local macros in target file name, bug #25729
git-svn-id: trunk@44122 -
This commit is contained in:
parent
a503dc1f3c
commit
e73d9a7ee0
@ -1919,8 +1919,12 @@ var
|
|||||||
OutFilename: String;
|
OutFilename: String;
|
||||||
begin
|
begin
|
||||||
Result:=TargetFilename;
|
Result:=TargetFilename;
|
||||||
if not IDEMacros.SubstituteMacros(Result) then
|
if Assigned(ParsedOpts.OnLocalSubstitute) then
|
||||||
exit;
|
begin
|
||||||
|
Result:=ParsedOpts.OnLocalSubstitute(Result,false);
|
||||||
|
end else begin
|
||||||
|
Result:=ParseString(ParsedOpts,Result,false);
|
||||||
|
end;
|
||||||
if (Result<>'') and FilenameIsAbsolute(Result) then begin
|
if (Result<>'') and FilenameIsAbsolute(Result) then begin
|
||||||
// fully specified target filename
|
// fully specified target filename
|
||||||
end else if Result<>'' then begin
|
end else if Result<>'' then begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user