mirror of https://gitlab.com/basile.b/dexed.git
tweaked default compiler options
This commit is contained in:
parent
ab23dc13d9
commit
163c8dbf92
|
@ -150,7 +150,7 @@ type
|
||||||
property binaryKind: TBinaryKind read fBinKind write setBinKind default executable;
|
property binaryKind: TBinaryKind read fBinKind write setBinKind default executable;
|
||||||
property inlining: boolean read fInline write setInline default false;
|
property inlining: boolean read fInline write setInline default false;
|
||||||
property noBoundsCheck: boolean read fNoBounds write setNoBounds;
|
property noBoundsCheck: boolean read fNoBounds write setNoBounds;
|
||||||
property boundsCheck: TBoundCheckKind read fBoundsCheck write setBoundsCheck;
|
property boundsCheck: TBoundCheckKind read fBoundsCheck write setBoundsCheck default safeOnly;
|
||||||
property optimizations: boolean read fOptimz write setOptims default false;
|
property optimizations: boolean read fOptimz write setOptims default false;
|
||||||
property generateStackFrame: boolean read fGenStack write setGenStack default false;
|
property generateStackFrame: boolean read fGenStack write setGenStack default false;
|
||||||
property addMain: boolean read fMain write setMain default false;
|
property addMain: boolean read fMain write setMain default false;
|
||||||
|
@ -544,6 +544,7 @@ end;
|
||||||
constructor TOutputOpts.create;
|
constructor TOutputOpts.create;
|
||||||
begin
|
begin
|
||||||
fVerIds := TStringList.Create;
|
fVerIds := TStringList.Create;
|
||||||
|
fBoundsCheck := safeOnly;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TOutputOpts.destroy;
|
destructor TOutputOpts.destroy;
|
||||||
|
|
|
@ -90,7 +90,7 @@ type
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
ce_interfaces, controls, dialogs, ce_symstring, ce_libman, ce_main;
|
ce_interfaces, controls, dialogs, ce_symstring, ce_libman, ce_main, ce_dcd;
|
||||||
|
|
||||||
constructor TCEProject.create(aOwner: TComponent);
|
constructor TCEProject.create(aOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
|
@ -277,11 +277,13 @@ begin
|
||||||
Name := 'debug';
|
Name := 'debug';
|
||||||
debugingOptions.debug := true;
|
debugingOptions.debug := true;
|
||||||
debugingOptions.addCInformations := true;
|
debugingOptions.addCInformations := true;
|
||||||
|
outputOptions.boundsCheck := onAlways;
|
||||||
end;
|
end;
|
||||||
with TCompilerConfiguration(fOptsColl.Add) do
|
with TCompilerConfiguration(fOptsColl.Add) do
|
||||||
begin
|
begin
|
||||||
Name := 'unittest';
|
Name := 'unittest';
|
||||||
outputOptions.unittest := true;
|
outputOptions.unittest := true;
|
||||||
|
outputOptions.boundsCheck := onAlways;
|
||||||
end;
|
end;
|
||||||
with TCompilerConfiguration(fOptsColl.Add) do
|
with TCompilerConfiguration(fOptsColl.Add) do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue