mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 01:50:38 +01:00
* Added ability to clear global-variable containing the compiler-version info
git-svn-id: trunk@33937 -
This commit is contained in:
parent
7f44774852
commit
561c7b0862
@ -150,6 +150,7 @@ var
|
||||
FPMakeCompilerOptions : TCompilerOptions;
|
||||
|
||||
procedure LoadGlobalDefaults(CfgFile: string);
|
||||
procedure ClearCompilerDefaults;
|
||||
procedure LoadCompilerDefaults;
|
||||
|
||||
Implementation
|
||||
@ -246,6 +247,13 @@ begin
|
||||
GlobalOptions.LogValues(llDebug);
|
||||
end;
|
||||
|
||||
procedure ClearCompilerDefaults;
|
||||
begin
|
||||
CompilerOptions.Free;
|
||||
FPMakeCompilerOptions.Free;
|
||||
CompilerOptions:=TCompilerOptions.Create;
|
||||
FPMakeCompilerOptions:=TCompilerOptions.Create;
|
||||
end;
|
||||
|
||||
procedure LoadCompilerDefaults;
|
||||
var
|
||||
|
||||
Loading…
Reference in New Issue
Block a user