mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 18:39:29 +01:00
changed project output file: if target filename is set, it is now always relative to the project directory
git-svn-id: trunk@9118 -
This commit is contained in:
parent
3d053b091b
commit
660b011966
@ -1,5 +1,3 @@
|
||||
{ This is an automatically generated lazarus resource file }
|
||||
|
||||
LazarusResources.Add('TStreamAsXMLForm','FORMDATA',[
|
||||
'TPF0'#16'TStreamAsXMLForm'#15'StreamAsXMLForm'#13'ActiveControl'#7#7'Button1'
|
||||
+#7'Caption'#6#15'StreamAsXMLForm'#12'ClientHeight'#3#178#1#11'ClientWidth'#3
|
||||
|
||||
@ -1316,7 +1316,7 @@ begin
|
||||
if (TargetFilename<>'') and FilenameIsAbsolute(TargetFilename) then begin
|
||||
// fully specified target filename
|
||||
Result:=TargetFilename;
|
||||
end else if ExtractFilePath(TargetFilename)<>'' then begin
|
||||
end else if TargetFilename<>'' then begin
|
||||
// TargetFilename is relative to project directory
|
||||
Result:=AppendPathDelim(ExtractFilePath(MainSourceFileName))+TargetFilename;
|
||||
end else begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user