mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:59:23 +02:00
IDE: compiler options: hide target OS/CPU, heap size for packages
git-svn-id: trunk@38573 -
This commit is contained in:
parent
f5bc6f0df1
commit
6b12d3b4fc
@ -240,19 +240,19 @@ begin
|
|||||||
chkChecksStack.Checked := StackChecks;
|
chkChecksStack.Checked := StackChecks;
|
||||||
chkVerifyObjMethodCall.Checked := VerifyObjMethodCall;
|
chkVerifyObjMethodCall.Checked := VerifyObjMethodCall;
|
||||||
|
|
||||||
grpHeapStackSize.Enabled := NeedsLinkerOpts;
|
grpHeapStackSize.Visible := NeedsLinkerOpts;
|
||||||
edtHeapSize.Text := IntToStr(HeapSize);
|
edtHeapSize.Text := IntToStr(HeapSize);
|
||||||
edtStackSize.Text := IntToStr(StackSize);
|
edtStackSize.Text := IntToStr(StackSize);
|
||||||
|
|
||||||
if fIsPackage then begin
|
if fIsPackage then begin
|
||||||
grpTargetPlatform.Enabled:=false;
|
grpTargetPlatform.Visible:=false;
|
||||||
TargetOSComboBox.ItemIndex := 0;
|
TargetOSComboBox.ItemIndex := 0;
|
||||||
TargetOSComboBox.Text := 'default';
|
TargetOSComboBox.Text := 'default';
|
||||||
TargetCPUComboBox.ItemIndex := 0;
|
TargetCPUComboBox.ItemIndex := 0;
|
||||||
TargetCPUComboBox.Text := 'default';
|
TargetCPUComboBox.Text := 'default';
|
||||||
TargetProcessorProcComboBox.Text := 'default';
|
TargetProcessorProcComboBox.Text := 'default';
|
||||||
end else begin
|
end else begin
|
||||||
grpTargetPlatform.Enabled:=true;
|
grpTargetPlatform.Visible:=true;
|
||||||
i := TargetOSComboBox.Items.IndexOf(TargetOS);
|
i := TargetOSComboBox.Items.IndexOf(TargetOS);
|
||||||
if i < 0 then
|
if i < 0 then
|
||||||
i := 0; // 0 is default
|
i := 0; // 0 is default
|
||||||
|
Loading…
Reference in New Issue
Block a user