mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-28 16:37:10 +01:00
startlazarus: use --pcp
git-svn-id: trunk@31010 -
This commit is contained in:
parent
a015faa28d
commit
78b7e56c20
@ -98,6 +98,13 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
// pass these parameters to Lazarus
|
||||||
|
|
||||||
|
if LeftStr(Param,length(PrimaryConfPathOptShort))=PrimaryConfPathOptShort
|
||||||
|
then begin
|
||||||
|
SetPrimaryConfigPath(copy(Param,length(PrimaryConfPathOptShort)+1,length(Param)));
|
||||||
|
end;
|
||||||
|
|
||||||
// Do not add file to the parameter list
|
// Do not add file to the parameter list
|
||||||
if not (Copy(Param,1,1) = '-') and (FileExistsUTF8(ExpandFileNameUTF8(Param))) then
|
if not (Copy(Param,1,1) = '-') and (FileExistsUTF8(ExpandFileNameUTF8(Param))) then
|
||||||
begin
|
begin
|
||||||
|
|||||||
@ -108,7 +108,7 @@ function GetLibraryPrefix(TargetOS: string = ''): string;
|
|||||||
function MakeStandardLibFilename(TargetOS, Filename: string): string;
|
function MakeStandardLibFilename(TargetOS, Filename: string): string;
|
||||||
|
|
||||||
// returns the standard file extension for compiled units (e.g '.ppu')
|
// returns the standard file extension for compiled units (e.g '.ppu')
|
||||||
function GetDefaultCompiledUnitExt(FPCVersion, FPCRelease: integer): string;
|
function GetDefaultCompiledUnitExt({%H-}FPCVersion, {%H-}FPCRelease: integer): string;
|
||||||
|
|
||||||
function OSLocksExecutables: boolean;
|
function OSLocksExecutables: boolean;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user