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:
mattias 2006-04-11 20:49:15 +00:00
parent 3d053b091b
commit 660b011966
2 changed files with 1 additions and 3 deletions

View File

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

View File

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