mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:09:21 +02:00
startlazarus: use --pcp
git-svn-id: trunk@31010 -
This commit is contained in:
parent
a015faa28d
commit
78b7e56c20
@ -98,6 +98,13 @@ begin
|
||||
end
|
||||
else
|
||||
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
|
||||
if not (Copy(Param,1,1) = '-') and (FileExistsUTF8(ExpandFileNameUTF8(Param))) then
|
||||
begin
|
||||
|
@ -108,7 +108,7 @@ function GetLibraryPrefix(TargetOS: string = ''): string;
|
||||
function MakeStandardLibFilename(TargetOS, Filename: string): string;
|
||||
|
||||
// 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user