mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:20:34 +02: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;
|
||||
begin
|
||||
Result:=TargetFilename;
|
||||
if not IDEMacros.SubstituteMacros(Result) then
|
||||
exit;
|
||||
if Assigned(ParsedOpts.OnLocalSubstitute) then
|
||||
begin
|
||||
Result:=ParsedOpts.OnLocalSubstitute(Result,false);
|
||||
end else begin
|
||||
Result:=ParseString(ParsedOpts,Result,false);
|
||||
end;
|
||||
if (Result<>'') and FilenameIsAbsolute(Result) then begin
|
||||
// fully specified target filename
|
||||
end else if Result<>'' then begin
|
||||
|
Loading…
Reference in New Issue
Block a user