mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
added lazarus.lpi
git-svn-id: trunk@8736 -
This commit is contained in:
parent
47580b39ef
commit
8dfd72a62f
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1082,6 +1082,7 @@ ide/keymapping.pp svneol=native#text/pascal
|
||||
ide/keymapschemedlg.lfm svneol=native#text/plain
|
||||
ide/keymapschemedlg.lrs svneol=native#text/pascal
|
||||
ide/keymapschemedlg.pas svneol=native#text/pascal
|
||||
ide/lazarus.lpi svneol=native#text/plain
|
||||
ide/lazarus.pp svneol=native#text/pascal
|
||||
ide/lazarus.rc svneol=native#text/plain
|
||||
ide/lazarus_about_logo.lrs svneol=native#text/pascal
|
||||
|
@ -1304,6 +1304,9 @@ begin
|
||||
if (TargetFilename<>'') and FilenameIsAbsolute(TargetFilename) then begin
|
||||
// fully specified target filename
|
||||
Result:=TargetFilename;
|
||||
end else if ExtractFilePath(TargetFilename)<>'' then begin
|
||||
// TargetFilename is relative to project directory
|
||||
Result:=AppendPathDelim(ExtractFilePath(MainSourceFileName))+TargetFilename;
|
||||
end else begin
|
||||
// calculate output directory
|
||||
UnitOutDir:=GetUnitOutPath(false);
|
||||
@ -1314,7 +1317,7 @@ begin
|
||||
OutFilename:=TargetFilename
|
||||
else
|
||||
OutFilename:=lowercase(ExtractFileNameOnly(MainSourceFileName));
|
||||
debugln('TBaseCompilerOptions.CreateTargetFilename MainSourceFileName=',MainSourceFileName,' OutFilename=',OutFilename,' TargetFilename=',TargetFilename);
|
||||
//debugln('TBaseCompilerOptions.CreateTargetFilename MainSourceFileName=',MainSourceFileName,' OutFilename=',OutFilename,' TargetFilename=',TargetFilename);
|
||||
|
||||
Result:=AppendPathDelim(UnitOutDir)+OutFilename;
|
||||
end;
|
||||
|
53
ide/lazarus.lpi
Normal file
53
ide/lazarus.lpi
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<PathDelim Value="/"/>
|
||||
<Version Value="5"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasUsesSectionForAllUnits Value="False"/>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InIDEConfig"/>
|
||||
<MainUnit Value="0"/>
|
||||
<IconPath Value="./"/>
|
||||
<TargetFileExt Value=""/>
|
||||
</General>
|
||||
<LazDoc Paths=""/>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<Units Count="1">
|
||||
<Unit0>
|
||||
<Filename Value="lazarus.pp"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="Lazarus"/>
|
||||
</Unit0>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<Target>
|
||||
<Filename Value="../lazarus"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<UnitOutputDirectory Value="$(LazarusDir)/units/$(TargetCPU)-$(TargetOS)/"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
<CompileReasons Compile="False" Build="False" Run="False"/>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
Loading…
Reference in New Issue
Block a user