IDE: project: fixed local macros in target file name, bug #25729

git-svn-id: trunk@44122 -
This commit is contained in:
mattias 2014-02-18 09:49:25 +00:00
parent a503dc1f3c
commit e73d9a7ee0

View File

@ -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