mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 15:20:29 +02:00
IDE: Remove obsolete CompiledUnitExt function.
git-svn-id: trunk@27916 -
This commit is contained in:
parent
d435b111a3
commit
5cc7e97fc2
@ -135,7 +135,6 @@ type
|
||||
procedure Assign(Source: TBuildLazarusProfile; ACopyName: Boolean=True);
|
||||
procedure Load(XMLConfig: TXMLConfig; const Path: string);
|
||||
procedure Save(XMLConfig: TXMLConfig; const Path: string);
|
||||
function CompiledUnitExt(FPCVersion, FPCRelease: integer): string;
|
||||
public
|
||||
property Name: string read fName;
|
||||
property CleanAll: boolean read fCleanAll write fCleanAll;
|
||||
@ -500,16 +499,6 @@ begin
|
||||
fMakeModes[i]:=Source.MakeModes[i];
|
||||
end;
|
||||
|
||||
function TBuildLazarusProfile.CompiledUnitExt(FPCVersion, FPCRelease: integer): string;
|
||||
begin
|
||||
Result:=GetDefaultCompiledUnitExt(FPCVersion,FPCRelease);
|
||||
if (CompareText(TargetOS,'win32')=0)
|
||||
and (FPCVersion=1) and (FPCRelease=0) then
|
||||
Result:='.ppw'
|
||||
else
|
||||
Result:='.ppu';
|
||||
end;
|
||||
|
||||
|
||||
{ TBuildLazarusProfiles }
|
||||
|
||||
|
@ -11421,8 +11421,7 @@ begin
|
||||
EnvironmentOptions.LazarusDirectory,
|
||||
FPCVersion,FPCRelease,FPCPatch);
|
||||
if FPCPatch=0 then ;
|
||||
CompiledUnitExt:=MiscellaneousOptions.BuildLazOpts.CompiledUnitExt(
|
||||
FPCVersion,FPCRelease);
|
||||
CompiledUnitExt:=GetDefaultCompiledUnitExt(FPCVersion,FPCRelease);
|
||||
Result:=MainBuildBoss.CheckUnitPathForAmbiguousPascalFiles(
|
||||
EnvironmentOptions.LazarusDirectory,
|
||||
InheritedOptionStrings[icoUnitPath],
|
||||
|
Loading…
Reference in New Issue
Block a user