mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 08:59:54 +02:00
ide: fied compile on windows
This commit is contained in:
parent
4323a6e9f5
commit
daf7767a51
@ -139,6 +139,12 @@ function GetValueFromIDEConfig(OptionFilename, Path: string): string;
|
||||
|
||||
implementation
|
||||
|
||||
{$IFDEF MSWindows}
|
||||
var
|
||||
DefaultFPCVersion: string;
|
||||
DefaultFPCTarget: string;
|
||||
{$ENDIF}
|
||||
|
||||
function CheckLazarusDirectoryQuality(ADirectory: string;
|
||||
out Note: string): TSDFilenameQuality;
|
||||
|
||||
@ -1148,5 +1154,11 @@ begin
|
||||
Result:=Nil;
|
||||
end;
|
||||
|
||||
initialization
|
||||
{$IFDEF MSWindows}
|
||||
DefaultFPCTarget:= GetCompiledTargetCPU + '-' + GetCompiledTargetOS;
|
||||
DefaultFPCVersion:= {$I %FPCVERSION%};
|
||||
{$ENDIF}
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user