IDE: compiler options dlg: fixed package view

git-svn-id: trunk@12798 -
This commit is contained in:
mattias 2007-11-09 17:41:54 +00:00
parent 6223cf758e
commit 341ec7141b
4 changed files with 368 additions and 363 deletions

View File

@ -26,7 +26,6 @@
* *
***************************************************************************
}
{%RunCommand $MakeEx e($(EdFile))}
unit BuildManager;
{$mode objfpc}{$H+}

View File

@ -21,7 +21,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Width = 669
Align = alTop
Anchors = [akTop, akLeft, akRight, akBottom]
PageIndex = 1
PageIndex = 7
TabOrder = 0
object PathPage: TPage
Caption = 'PathPage'
@ -984,7 +984,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Cursor = crVSplit
Height = 5
Top = 279
Width = 1
Width = 665
Align = alTop
ResizeAnchor = akTop
end
@ -1006,7 +1006,7 @@ object frmCompilerOptions: TfrmCompilerOptions
object ExecuteAfterGroupBox: TGroupBox
Left = 6
Height = 108
Top = 234
Top = 233
Width = 653
Align = alTop
AutoSize = True
@ -1021,7 +1021,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 6
Height = 20
Top = 6
Width = 105
Width = 106
BorderSpacing.Around = 6
Caption = 'lblRunIfExecAfter'
ParentColor = False
@ -1033,7 +1033,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 6
Height = 20
Top = 32
Width = 183
Width = 184
BorderSpacing.Around = 6
Caption = 'ExecuteAfterCommandLabel'
ParentColor = False
@ -1042,10 +1042,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Control = lblRunIfExecAfter
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteAfterGroupBox
Left = 141
Left = 142
Height = 22
Top = 6
Width = 158
Width = 159
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'chkExecAfterCompile'
@ -1055,10 +1055,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Control = chkExecAfterCompile
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteAfterGroupBox
Left = 329
Left = 331
Height = 22
Top = 6
Width = 137
Width = 138
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'chkExecAfterBuild'
@ -1068,10 +1068,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Control = chkExecAfterBuild
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteAfterGroupBox
Left = 496
Left = 499
Height = 22
Top = 6
Width = 129
Width = 130
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'chkExecAfterRun'
@ -1084,10 +1084,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = ExecuteAfterGroupBox
AnchorSideRight.Side = asrBottom
Left = 207
Left = 208
Height = 23
Top = 32
Width = 436
Width = 435
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Around = 6
@ -1099,10 +1099,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteAfterCommandEdit
AnchorSideTop.Side = asrBottom
Left = 269
Left = 271
Height = 22
Top = 61
Width = 224
Width = 225
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'ExecuteAfterScanFPCCheckBox'
@ -1115,7 +1115,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 6
Height = 22
Top = 61
Width = 233
Width = 235
BorderSpacing.Around = 6
Caption = 'ExecuteAfterScanMakeCheckBox'
TabOrder = 5
@ -1125,10 +1125,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteAfterCommandEdit
AnchorSideTop.Side = asrBottom
Left = 523
Left = 526
Height = 22
Top = 61
Width = 217
Width = 218
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'ExecuteAfterShowAllCheckBox'
@ -1137,14 +1137,14 @@ object frmCompilerOptions: TfrmCompilerOptions
end
object grpCompiler: TGroupBox
Left = 6
Height = 80
Height = 79
Top = 148
Width = 653
Align = alTop
AutoSize = True
BorderSpacing.Around = 6
Caption = 'grpCompiler'
ClientHeight = 61
ClientHeight = 60
ClientWidth = 649
TabOrder = 2
object lblRunIfCompiler: TLabel
@ -1181,8 +1181,8 @@ object frmCompilerOptions: TfrmCompilerOptions
Height = 22
Top = 6
Width = 155
BorderSpacing.Left = 24
BorderSpacing.Around = 6
BorderSpacing.Left = 30
BorderSpacing.Top = 6
Caption = 'chkCompilerCompile'
TabOrder = 0
end
@ -1215,13 +1215,13 @@ object frmCompilerOptions: TfrmCompilerOptions
object edtCompiler: TEdit
AnchorSideLeft.Control = lblCompiler
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = lblRunIfCompiler
AnchorSideTop.Side = asrBottom
AnchorSideTop.Control = lblCompiler
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = grpCompiler
AnchorSideRight.Side = asrBottom
Left = 96
Height = 23
Top = 32
Top = 31
Width = 547
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
@ -1260,7 +1260,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 6
Height = 20
Top = 32
Width = 194
Width = 195
BorderSpacing.Around = 6
Caption = 'ExecuteBeforeCommandLabel'
ParentColor = False
@ -1272,7 +1272,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 153
Height = 22
Top = 6
Width = 169
Width = 170
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'chkExecBeforeCompile'
@ -1282,10 +1282,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Control = chkExecBeforeCompile
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteBeforeGroupBox
Left = 352
Left = 353
Height = 22
Top = 6
Width = 148
Width = 149
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'chkExecBeforeBuild'
@ -1295,7 +1295,7 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Control = chkExecBeforeBuild
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteBeforeGroupBox
Left = 530
Left = 532
Height = 22
Top = 6
Width = 141
@ -1311,10 +1311,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = ExecuteBeforeGroupBox
AnchorSideRight.Side = asrBottom
Left = 218
Left = 219
Height = 23
Top = 32
Width = 425
Width = 424
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Around = 6
@ -1326,10 +1326,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteBeforeCommandEdit
AnchorSideTop.Side = asrBottom
Left = 280
Left = 282
Height = 22
Top = 61
Width = 235
Width = 236
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'ExecuteBeforeScanFPCCheckBox'
@ -1342,7 +1342,7 @@ object frmCompilerOptions: TfrmCompilerOptions
Left = 6
Height = 22
Top = 61
Width = 244
Width = 246
BorderSpacing.Around = 6
Caption = 'ExecuteBeforeScanMakeCheckBox'
TabOrder = 5
@ -1352,10 +1352,10 @@ object frmCompilerOptions: TfrmCompilerOptions
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ExecuteBeforeCommandEdit
AnchorSideTop.Side = asrBottom
Left = 545
Left = 548
Height = 22
Top = 61
Width = 228
Width = 229
BorderSpacing.Left = 24
BorderSpacing.Around = 6
Caption = 'ExecuteBeforeShowAllCheckBox'

View File

@ -10,7 +10,7 @@ LazarusResources.Add('TfrmCompilerOptions','FORMDATA',[
+'ze'#7#10'FormResize'#8'Position'#7#14'poScreenCenter'#0#9'TNotebook'#12'Mai'
+'nNotebook'#24'AnchorSideBottom.Control'#7#8'BtnPanel'#6'Height'#3#224#1#5'W'
+'idth'#3#157#2#5'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRigh'
+'t'#8'akBottom'#0#9'PageIndex'#2#1#8'TabOrder'#2#0#0#5'TPage'#8'PathPage'#7
+'t'#8'akBottom'#0#9'PageIndex'#2#7#8'TabOrder'#2#0#0#5'TPage'#8'PathPage'#7
+'Caption'#6#8'PathPage'#11'ClientWidth'#3#153#2#12'ClientHeight'#3#193#1#0#6
+'TLabel'#13'lblOtherUnits'#4'Left'#2#6#6'Height'#2#20#3'Top'#2#6#5'Width'#3
+#141#2#5'Align'#7#5'alTop'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2
@ -314,139 +314,139 @@ LazarusResources.Add('TfrmCompilerOptions','FORMDATA',[
+#28#1#5'Width'#3#141#2#5'Align'#7#8'alClient'#18'BorderSpacing.Left'#2#6#19
+'BorderSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#8'ReadOnly'#9#10'Scro'
+'llBars'#7#14'ssAutoVertical'#8'TabOrder'#2#1#0#0#9'TSplitter'#11'InhSplitte'
+'r'#6'Cursor'#7#8'crVSplit'#6'Height'#2#5#3'Top'#3#23#1#5'Width'#2#1#5'Align'
+#7#5'alTop'#12'ResizeAnchor'#7#5'akTop'#0#0#0#5'TPage'#15'CompilationPage'#7
+'Caption'#6#15'CompilationPage'#11'ClientWidth'#3#153#2#12'ClientHeight'#3
+#193#1#0#9'TCheckBox'#17'chkCreateMakefile'#4'Left'#2#6#6'Height'#2#22#3'Top'
+#2#6#5'Width'#3#141#2#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Cap'
+'tion'#6#17'chkCreateMakefile'#8'TabOrder'#2#0#0#0#9'TGroupBox'#20'ExecuteAf'
+'terGroupBox'#4'Left'#2#6#6'Height'#2'l'#3'Top'#3#234#0#5'Width'#3#141#2#5'A'
,'lign'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#20
+'ExecuteAfterGroupBox'#12'ClientHeight'#2'Y'#11'ClientWidth'#3#137#2#8'TabOr'
+'der'#2#1#0#6'TLabel'#17'lblRunIfExecAfter'#22'AnchorSideLeft.Control'#7#20
+'ExecuteAfterGroupBox'#21'AnchorSideTop.Control'#7#20'ExecuteAfterGroupBox'#4
+'Left'#2#6#6'Height'#2#20#3'Top'#2#6#5'Width'#2'i'#20'BorderSpacing.Around'#2
+#6#7'Caption'#6#17'lblRunIfExecAfter'#11'ParentColor'#8#0#0#6'TLabel'#24'Exe'
+'cuteAfterCommandLabel'#22'AnchorSideLeft.Control'#7#20'ExecuteAfterGroupBox'
+#21'AnchorSideTop.Control'#7#17'lblRunIfExecAfter'#18'AnchorSideTop.Side'#7#9
+'asrBottom'#4'Left'#2#6#6'Height'#2#20#3'Top'#2' '#5'Width'#3#183#0#20'Borde'
+'rSpacing.Around'#2#6#7'Caption'#6#24'ExecuteAfterCommandLabel'#11'ParentCol'
+'or'#8#0#0#9'TCheckBox'#19'chkExecAfterCompile'#22'AnchorSideLeft.Control'#7
+#17'lblRunIfExecAfter'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideT'
+'op.Control'#7#20'ExecuteAfterGroupBox'#4'Left'#3#141#0#6'Height'#2#22#3'Top'
+#2#6#5'Width'#3#158#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2
+#6#7'Caption'#6#19'chkExecAfterCompile'#8'TabOrder'#2#0#0#0#9'TCheckBox'#17
+'chkExecAfterBuild'#22'AnchorSideLeft.Control'#7#19'chkExecAfterCompile'#19
+'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#20'ExecuteA'
+'fterGroupBox'#4'Left'#3'I'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#137#0#18
+'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#17'chkEx'
+'ecAfterBuild'#8'TabOrder'#2#1#0#0#9'TCheckBox'#15'chkExecAfterRun'#22'Ancho'
+'rSideLeft.Control'#7#17'chkExecAfterBuild'#19'AnchorSideLeft.Side'#7#9'asrB'
+'ottom'#21'AnchorSideTop.Control'#7#20'ExecuteAfterGroupBox'#4'Left'#3#240#1
+#6'Height'#2#22#3'Top'#2#6#5'Width'#3#129#0#18'BorderSpacing.Left'#2#24#20'B'
+'orderSpacing.Around'#2#6#7'Caption'#6#15'chkExecAfterRun'#8'TabOrder'#2#2#0
+#0#5'TEdit'#23'ExecuteAfterCommandEdit'#22'AnchorSideLeft.Control'#7#24'Exec'
+'uteAfterCommandLabel'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideT'
+'op.Control'#7#17'lblRunIfExecAfter'#18'AnchorSideTop.Side'#7#9'asrBottom'#23
+'AnchorSideRight.Control'#7#20'ExecuteAfterGroupBox'#20'AnchorSideRight.Side'
+#7#9'asrBottom'#4'Left'#3#207#0#6'Height'#2#23#3'Top'#2' '#5'Width'#3#180#1#7
+'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#12#20
+'BorderSpacing.Around'#2#6#8'TabOrder'#2#3#4'Text'#6#23'ExecuteAfterCommandE'
+'dit'#0#0#9'TCheckBox'#27'ExecuteAfterScanFPCCheckBox'#22'AnchorSideLeft.Con'
+'trol'#7#28'ExecuteAfterScanMakeCheckBox'#19'AnchorSideLeft.Side'#7#9'asrBot'
+'tom'#21'AnchorSideTop.Control'#7#23'ExecuteAfterCommandEdit'#18'AnchorSideT'
+'op.Side'#7#9'asrBottom'#4'Left'#3#13#1#6'Height'#2#22#3'Top'#2'='#5'Width'#3
+#224#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6
+#27'ExecuteAfterScanFPCCheckBox'#8'TabOrder'#2#4#0#0#9'TCheckBox'#28'Execute'
+'AfterScanMakeCheckBox'#22'AnchorSideLeft.Control'#7#20'ExecuteAfterGroupBox'
+#21'AnchorSideTop.Control'#7#23'ExecuteAfterCommandEdit'#18'AnchorSideTop.Si'
+'de'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'='#5'Width'#3#233#0
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'ExecuteAfterScanMakeCheckBox'#8
+'TabOrder'#2#5#0#0#9'TCheckBox'#27'ExecuteAfterShowAllCheckBox'#22'AnchorSid'
+'eLeft.Control'#7#27'ExecuteAfterScanFPCCheckBox'#19'AnchorSideLeft.Side'#7#9
+'r'#6'Cursor'#7#8'crVSplit'#6'Height'#2#5#3'Top'#3#23#1#5'Width'#3#153#2#5'A'
+'lign'#7#5'alTop'#12'ResizeAnchor'#7#5'akTop'#0#0#0#5'TPage'#15'CompilationP'
+'age'#7'Caption'#6#15'CompilationPage'#11'ClientWidth'#3#153#2#12'ClientHeig'
+'ht'#3#193#1#0#9'TCheckBox'#17'chkCreateMakefile'#4'Left'#2#6#6'Height'#2#22
+#3'Top'#2#6#5'Width'#3#141#2#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6
+#7'Caption'#6#17'chkCreateMakefile'#8'TabOrder'#2#0#0#0#9'TGroupBox'#20'Exec'
+'uteAfterGroupBox'#4'Left'#2#6#6'Height'#2'l'#3'Top'#3#233#0#5'Width'#3#141#2
,#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6
+#20'ExecuteAfterGroupBox'#12'ClientHeight'#2'Y'#11'ClientWidth'#3#137#2#8'Ta'
+'bOrder'#2#1#0#6'TLabel'#17'lblRunIfExecAfter'#22'AnchorSideLeft.Control'#7
+#20'ExecuteAfterGroupBox'#21'AnchorSideTop.Control'#7#20'ExecuteAfterGroupBo'
+'x'#4'Left'#2#6#6'Height'#2#20#3'Top'#2#6#5'Width'#2'j'#20'BorderSpacing.Aro'
+'und'#2#6#7'Caption'#6#17'lblRunIfExecAfter'#11'ParentColor'#8#0#0#6'TLabel'
+#24'ExecuteAfterCommandLabel'#22'AnchorSideLeft.Control'#7#20'ExecuteAfterGr'
+'oupBox'#21'AnchorSideTop.Control'#7#17'lblRunIfExecAfter'#18'AnchorSideTop.'
+'Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#20#3'Top'#2' '#5'Width'#3#184#0
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#24'ExecuteAfterCommandLabel'#11'P'
+'arentColor'#8#0#0#9'TCheckBox'#19'chkExecAfterCompile'#22'AnchorSideLeft.Co'
+'ntrol'#7#17'lblRunIfExecAfter'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'An'
+'chorSideTop.Control'#7#20'ExecuteAfterGroupBox'#4'Left'#3#142#0#6'Height'#2
+#22#3'Top'#2#6#5'Width'#3#159#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing'
+'.Around'#2#6#7'Caption'#6#19'chkExecAfterCompile'#8'TabOrder'#2#0#0#0#9'TCh'
+'eckBox'#17'chkExecAfterBuild'#22'AnchorSideLeft.Control'#7#19'chkExecAfterC'
+'ompile'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7
+#20'ExecuteAfterGroupBox'#4'Left'#3'K'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3
+#138#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6
+#17'chkExecAfterBuild'#8'TabOrder'#2#1#0#0#9'TCheckBox'#15'chkExecAfterRun'
+#22'AnchorSideLeft.Control'#7#17'chkExecAfterBuild'#19'AnchorSideLeft.Side'#7
+#9'asrBottom'#21'AnchorSideTop.Control'#7#20'ExecuteAfterGroupBox'#4'Left'#3
+#243#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#130#0#18'BorderSpacing.Left'#2#24
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#15'chkExecAfterRun'#8'TabOrder'#2
+#2#0#0#5'TEdit'#23'ExecuteAfterCommandEdit'#22'AnchorSideLeft.Control'#7#24
+'ExecuteAfterCommandLabel'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorS'
+'ideTop.Control'#7#17'lblRunIfExecAfter'#18'AnchorSideTop.Side'#7#9'asrBotto'
+'m'#23'AnchorSideRight.Control'#7#20'ExecuteAfterGroupBox'#20'AnchorSideRigh'
+'t.Side'#7#9'asrBottom'#4'Left'#3#208#0#6'Height'#2#23#3'Top'#2' '#5'Width'#3
+#179#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2
+#12#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#3#4'Text'#6#23'ExecuteAfterCo'
+'mmandEdit'#0#0#9'TCheckBox'#27'ExecuteAfterScanFPCCheckBox'#22'AnchorSideLe'
+'ft.Control'#7#28'ExecuteAfterScanMakeCheckBox'#19'AnchorSideLeft.Side'#7#9
+'asrBottom'#21'AnchorSideTop.Control'#7#23'ExecuteAfterCommandEdit'#18'Ancho'
+'rSideTop.Side'#7#9'asrBottom'#4'Left'#3#11#2#6'Height'#2#22#3'Top'#2'='#5'W'
+'idth'#3#217#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Ca'
+'ption'#6#27'ExecuteAfterShowAllCheckBox'#8'TabOrder'#2#6#0#0#0#9'TGroupBox'
+#11'grpCompiler'#4'Left'#2#6#6'Height'#2'P'#3'Top'#3#148#0#5'Width'#3#141#2#5
+'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#11
+'grpCompiler'#12'ClientHeight'#2'='#11'ClientWidth'#3#137#2#8'TabOrder'#2#2#0
+#6'TLabel'#16'lblRunIfCompiler'#22'AnchorSideLeft.Control'#7#11'grpCompiler'
+#21'AnchorSideTop.Control'#7#11'grpCompiler'#4'Left'#2#6#6'Height'#2#20#3'To'
+'p'#2#6#5'Width'#2'f'#20'BorderSpacing.Around'#2#6#7'Caption'#6#16'lblRunIfC'
+'ompiler'#11'ParentColor'#8#0#0#6'TLabel'#11'lblCompiler'#22'AnchorSideLeft.'
+'Control'#7#11'grpCompiler'#21'AnchorSideTop.Control'#7#16'lblRunIfCompiler'
+#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#20#3'Top'#2' '
+#5'Width'#2'H'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'Borde'
+'rSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#7'Caption'#6#11'lblCompile'
+'r'#11'ParentColor'#8#0#0#9'TCheckBox'#18'chkCompilerCompile'#22'AnchorSideL'
+'eft.Control'#7#16'lblRunIfCompiler'#19'AnchorSideLeft.Side'#7#9'asrBottom'
+#21'AnchorSideTop.Control'#7#11'grpCompiler'#4'Left'#3#138#0#6'Height'#2#22#3
+'Top'#2#6#5'Width'#3#155#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Arou'
+'nd'#2#6#7'Caption'#6#18'chkCompilerCompile'#8'TabOrder'#2#0#0#0#9'TCheckBox'
+#16'chkCompilerBuild'#22'AnchorSideLeft.Control'#7#18'chkCompilerCompile'#19
,'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#11'grpCompi'
+'ler'#4'Left'#3'C'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#134#0#18'BorderSpa'
+'cing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#16'chkCompilerBui'
+'ld'#8'TabOrder'#2#1#0#0#9'TCheckBox'#14'chkCompilerRun'#22'AnchorSideLeft.C'
+'ontrol'#7#16'chkCompilerBuild'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'An'
+'chorSideTop.Control'#7#11'grpCompiler'#4'Left'#3#231#1#6'Height'#2#22#3'Top'
+#2#6#5'Width'#2'~'#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7
+'Caption'#6#14'chkCompilerRun'#8'TabOrder'#2#2#0#0#5'TEdit'#11'edtCompiler'
+#22'AnchorSideLeft.Control'#7#11'lblCompiler'#19'AnchorSideLeft.Side'#7#9'as'
+'rBottom'#21'AnchorSideTop.Control'#7#16'lblRunIfCompiler'#18'AnchorSideTop.'
+'Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#11'grpCompiler'#20'Ancho'
+'rSideRight.Side'#7#9'asrBottom'#4'Left'#2'`'#6'Height'#2#23#3'Top'#2' '#5'W'
+'idth'#3'#'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing'
+'.Left'#2#12#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#3#4'Text'#6#11'edtCo'
+'mpiler'#0#0#0#9'TGroupBox'#21'ExecuteBeforeGroupBox'#4'Left'#2#6#6'Height'#2
+'l'#3'Top'#2'"'#5'Width'#3#141#2#5'Align'#7#5'alTop'#8'AutoSize'#9#20'Border'
+'Spacing.Around'#2#6#7'Caption'#6#21'ExecuteBeforeGroupBox'#12'ClientHeight'
+#2'Y'#11'ClientWidth'#3#137#2#8'TabOrder'#2#3#0#6'TLabel'#18'lblRunIfExecBef'
+'ore'#22'AnchorSideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21'AnchorSideTo'
+'p.Control'#7#21'ExecuteBeforeGroupBox'#4'Left'#2#6#6'Height'#2#20#3'Top'#2#6
+#5'Width'#2'u'#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'lblRunIfExecBefo'
+'re'#11'ParentColor'#8#0#0#6'TLabel'#25'ExecuteBeforeCommandLabel'#22'Anchor'
+'SideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21'AnchorSideTop.Control'#7#18
+'lblRunIfExecBefore'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Hei'
+'ght'#2#20#3'Top'#2' '#5'Width'#3#194#0#20'BorderSpacing.Around'#2#6#7'Capti'
+'on'#6#25'ExecuteBeforeCommandLabel'#11'ParentColor'#8#0#0#9'TCheckBox'#20'c'
+'hkExecBeforeCompile'#22'AnchorSideLeft.Control'#7#18'lblRunIfExecBefore'#19
+'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#21'ExecuteB'
+'eforeGroupBox'#4'Left'#3#153#0#6'Height'#2#22#3'Top'#2#6#5'Width'#3#169#0#18
+'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#20'chkEx'
+'ecBeforeCompile'#8'TabOrder'#2#0#0#0#9'TCheckBox'#18'chkExecBeforeBuild'#22
+'AnchorSideLeft.Control'#7#20'chkExecBeforeCompile'#19'AnchorSideLeft.Side'#7
+#9'asrBottom'#21'AnchorSideTop.Control'#7#21'ExecuteBeforeGroupBox'#4'Left'#3
+'`'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#148#0#18'BorderSpacing.Left'#2#24
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'chkExecBeforeBuild'#8'TabOrder'
+#2#1#0#0#9'TCheckBox'#16'chkExecBeforeRun'#22'AnchorSideLeft.Control'#7#18'c'
+'hkExecBeforeBuild'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.'
+'Control'#7#21'ExecuteBeforeGroupBox'#4'Left'#3#18#2#6'Height'#2#22#3'Top'#2
+#6#5'Width'#3#141#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6
+#7'Caption'#6#16'chkExecBeforeRun'#8'TabOrder'#2#2#0#0#5'TEdit'#24'ExecuteBe'
+'foreCommandEdit'#22'AnchorSideLeft.Control'#7#25'ExecuteBeforeCommandLabel'
+#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#18'lblRu'
+'nIfExecBefore'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Con'
+'trol'#7#21'ExecuteBeforeGroupBox'#20'AnchorSideRight.Side'#7#9'asrBottom'#4
+'Left'#3#218#0#6'Height'#2#23#3'Top'#2' '#5'Width'#3#169#1#7'Anchors'#11#5'a'
+'kTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#12#20'BorderSpacing.A'
+'round'#2#6#8'TabOrder'#2#3#4'Text'#6#24'ExecuteBeforeCommandEdit'#0#0#9'TCh'
+'eckBox'#28'ExecuteBeforeScanFPCCheckBox'#22'AnchorSideLeft.Control'#7#29'Ex'
+'ecuteBeforeScanMakeCheckBox'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'Anch'
+'orSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'AnchorSideTop.Side'#7#9
+'asrBottom'#4'Left'#3#24#1#6'Height'#2#22#3'Top'#2'='#5'Width'#3#235#0#18'Bo'
+'rderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'Execute'
+'BeforeScanFPCCheckBox'#8'TabOrder'#2#4#0#0#9'TCheckBox'#29'ExecuteBeforeSca'
+'nMakeCheckBox'#22'AnchorSideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21'An'
+'chorSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'AnchorSideTop.Side'#7
+#9'asrBottom'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'='#5'Width'#3#244#0#20'Bor'
+'derSpacing.Around'#2#6#7'Caption'#6#29'ExecuteBeforeScanMakeCheckBox'#8'Tab'
+'Order'#2#5#0#0#9'TCheckBox'#28'ExecuteBeforeShowAllCheckBox'#22'AnchorSideL'
+'eft.Control'#7#28'ExecuteBeforeScanFPCCheckBox'#19'AnchorSideLeft.Side'#7#9
+'asrBottom'#21'AnchorSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'Anch'
+'orSideTop.Side'#7#9'asrBottom'#4'Left'#3'!'#2#6'Height'#2#22#3'Top'#2'='#5
+'Width'#3#228#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'C'
+'rSideTop.Side'#7#9'asrBottom'#4'Left'#3#15#1#6'Height'#2#22#3'Top'#2'='#5'W'
+'idth'#3#225#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Ca'
+'ption'#6#27'ExecuteAfterScanFPCCheckBox'#8'TabOrder'#2#4#0#0#9'TCheckBox'#28
+'ExecuteAfterScanMakeCheckBox'#22'AnchorSideLeft.Control'#7#20'ExecuteAfterG'
+'roupBox'#21'AnchorSideTop.Control'#7#23'ExecuteAfterCommandEdit'#18'AnchorS'
+'ideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'='#5'Width'
+#3#235#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'ExecuteAfterScanMakeCh'
+'eckBox'#8'TabOrder'#2#5#0#0#9'TCheckBox'#27'ExecuteAfterShowAllCheckBox'#22
+'AnchorSideLeft.Control'#7#27'ExecuteAfterScanFPCCheckBox'#19'AnchorSideLeft'
+'.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#23'ExecuteAfterCommandEdi'
+'t'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#3#14#2#6'Height'#2#22#3'To'
+'p'#2'='#5'Width'#3#218#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Aroun'
+'d'#2#6#7'Caption'#6#27'ExecuteAfterShowAllCheckBox'#8'TabOrder'#2#6#0#0#0#9
+'TGroupBox'#11'grpCompiler'#4'Left'#2#6#6'Height'#2'O'#3'Top'#3#148#0#5'Widt'
+'h'#3#141#2#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7
+'Caption'#6#11'grpCompiler'#12'ClientHeight'#2'<'#11'ClientWidth'#3#137#2#8
+'TabOrder'#2#2#0#6'TLabel'#16'lblRunIfCompiler'#22'AnchorSideLeft.Control'#7
+#11'grpCompiler'#21'AnchorSideTop.Control'#7#11'grpCompiler'#4'Left'#2#6#6'H'
+'eight'#2#20#3'Top'#2#6#5'Width'#2'f'#20'BorderSpacing.Around'#2#6#7'Caption'
+#6#16'lblRunIfCompiler'#11'ParentColor'#8#0#0#6'TLabel'#11'lblCompiler'#22'A'
+'nchorSideLeft.Control'#7#11'grpCompiler'#21'AnchorSideTop.Control'#7#16'lbl'
+'RunIfCompiler'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2
+#20#3'Top'#2' '#5'Width'#2'H'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.To'
+'p'#2#6#19'BorderSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#7'Caption'#6
+#11'lblCompiler'#11'ParentColor'#8#0#0#9'TCheckBox'#18'chkCompilerCompile'#22
+'AnchorSideLeft.Control'#7#16'lblRunIfCompiler'#19'AnchorSideLeft.Side'#7#9
+'asrBottom'#21'AnchorSideTop.Control'#7#11'grpCompiler'#4'Left'#3#138#0#6'He'
+'ight'#2#22#3'Top'#2#6#5'Width'#3#155#0#18'BorderSpacing.Left'#2#30#17'Borde'
+'rSpacing.Top'#2#6#7'Caption'#6#18'chkCompilerCompile'#8'TabOrder'#2#0#0#0#9
+'TCheckBox'#16'chkCompilerBuild'#22'AnchorSideLeft.Control'#7#18'chkCompiler'
,'Compile'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7
+#11'grpCompiler'#4'Left'#3'C'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#134#0#18
+'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#16'chkCo'
+'mpilerBuild'#8'TabOrder'#2#1#0#0#9'TCheckBox'#14'chkCompilerRun'#22'AnchorS'
+'ideLeft.Control'#7#16'chkCompilerBuild'#19'AnchorSideLeft.Side'#7#9'asrBott'
+'om'#21'AnchorSideTop.Control'#7#11'grpCompiler'#4'Left'#3#231#1#6'Height'#2
+#22#3'Top'#2#6#5'Width'#2'~'#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Ar'
+'ound'#2#6#7'Caption'#6#14'chkCompilerRun'#8'TabOrder'#2#2#0#0#5'TEdit'#11'e'
+'dtCompiler'#22'AnchorSideLeft.Control'#7#11'lblCompiler'#19'AnchorSideLeft.'
+'Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#11'lblCompiler'#18'AnchorS'
+'ideTop.Side'#7#9'asrCenter'#23'AnchorSideRight.Control'#7#11'grpCompiler'#20
+'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#2'`'#6'Height'#2#23#3'Top'#2#31
+#5'Width'#3'#'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpac'
+'ing.Left'#2#12#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#3#4'Text'#6#11'ed'
+'tCompiler'#0#0#0#9'TGroupBox'#21'ExecuteBeforeGroupBox'#4'Left'#2#6#6'Heigh'
+'t'#2'l'#3'Top'#2'"'#5'Width'#3#141#2#5'Align'#7#5'alTop'#8'AutoSize'#9#20'B'
+'orderSpacing.Around'#2#6#7'Caption'#6#21'ExecuteBeforeGroupBox'#12'ClientHe'
+'ight'#2'Y'#11'ClientWidth'#3#137#2#8'TabOrder'#2#3#0#6'TLabel'#18'lblRunIfE'
+'xecBefore'#22'AnchorSideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21'Anchor'
+'SideTop.Control'#7#21'ExecuteBeforeGroupBox'#4'Left'#2#6#6'Height'#2#20#3'T'
+'op'#2#6#5'Width'#2'u'#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'lblRunIf'
+'ExecBefore'#11'ParentColor'#8#0#0#6'TLabel'#25'ExecuteBeforeCommandLabel'#22
+'AnchorSideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21'AnchorSideTop.Contro'
+'l'#7#18'lblRunIfExecBefore'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2
+#6#6'Height'#2#20#3'Top'#2' '#5'Width'#3#195#0#20'BorderSpacing.Around'#2#6#7
+'Caption'#6#25'ExecuteBeforeCommandLabel'#11'ParentColor'#8#0#0#9'TCheckBox'
+#20'chkExecBeforeCompile'#22'AnchorSideLeft.Control'#7#18'lblRunIfExecBefore'
+#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#21'Execu'
+'teBeforeGroupBox'#4'Left'#3#153#0#6'Height'#2#22#3'Top'#2#6#5'Width'#3#170#0
+#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#20'ch'
+'kExecBeforeCompile'#8'TabOrder'#2#0#0#0#9'TCheckBox'#18'chkExecBeforeBuild'
+#22'AnchorSideLeft.Control'#7#20'chkExecBeforeCompile'#19'AnchorSideLeft.Sid'
+'e'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#21'ExecuteBeforeGroupBox'#4'L'
+'eft'#3'a'#1#6'Height'#2#22#3'Top'#2#6#5'Width'#3#149#0#18'BorderSpacing.Lef'
+'t'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'chkExecBeforeBuild'#8
+'TabOrder'#2#1#0#0#9'TCheckBox'#16'chkExecBeforeRun'#22'AnchorSideLeft.Contr'
+'ol'#7#18'chkExecBeforeBuild'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'Anch'
+'orSideTop.Control'#7#21'ExecuteBeforeGroupBox'#4'Left'#3#20#2#6'Height'#2#22
+#3'Top'#2#6#5'Width'#3#141#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Ar'
+'ound'#2#6#7'Caption'#6#16'chkExecBeforeRun'#8'TabOrder'#2#2#0#0#5'TEdit'#24
+'ExecuteBeforeCommandEdit'#22'AnchorSideLeft.Control'#7#25'ExecuteBeforeComm'
+'andLabel'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7
+#18'lblRunIfExecBefore'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideR'
+'ight.Control'#7#21'ExecuteBeforeGroupBox'#20'AnchorSideRight.Side'#7#9'asrB'
+'ottom'#4'Left'#3#219#0#6'Height'#2#23#3'Top'#2' '#5'Width'#3#168#1#7'Anchor'
+'s'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#12#20'Border'
+'Spacing.Around'#2#6#8'TabOrder'#2#3#4'Text'#6#24'ExecuteBeforeCommandEdit'#0
+#0#9'TCheckBox'#28'ExecuteBeforeScanFPCCheckBox'#22'AnchorSideLeft.Control'#7
+#29'ExecuteBeforeScanMakeCheckBox'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21
+'AnchorSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'AnchorSideTop.Side'
+#7#9'asrBottom'#4'Left'#3#26#1#6'Height'#2#22#3'Top'#2'='#5'Width'#3#236#0#18
+'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'Execu'
+'teBeforeScanFPCCheckBox'#8'TabOrder'#2#4#0#0#9'TCheckBox'#29'ExecuteBeforeS'
+'canMakeCheckBox'#22'AnchorSideLeft.Control'#7#21'ExecuteBeforeGroupBox'#21
+'AnchorSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'AnchorSideTop.Side'
+#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'='#5'Width'#3#246#0#20'B'
+'orderSpacing.Around'#2#6#7'Caption'#6#29'ExecuteBeforeScanMakeCheckBox'#8'T'
+'abOrder'#2#5#0#0#9'TCheckBox'#28'ExecuteBeforeShowAllCheckBox'#22'AnchorSid'
+'eLeft.Control'#7#28'ExecuteBeforeScanFPCCheckBox'#19'AnchorSideLeft.Side'#7
+#9'asrBottom'#21'AnchorSideTop.Control'#7#24'ExecuteBeforeCommandEdit'#18'An'
+'chorSideTop.Side'#7#9'asrBottom'#4'Left'#3'$'#2#6'Height'#2#22#3'Top'#2'='#5
+'Width'#3#229#0#18'BorderSpacing.Left'#2#24#20'BorderSpacing.Around'#2#6#7'C'
+'aption'#6#28'ExecuteBeforeShowAllCheckBox'#8'TabOrder'#2#6#0#0#0#0#0#6'TPan'
+'el'#8'BtnPanel'#6'Height'#2'0'#3'Top'#3#224#1#5'Width'#3#157#2#5'Align'#7#8
,'alBottom'#8'AutoSize'#9#10'BevelOuter'#7#6'bvNone'#12'ClientHeight'#2'0'#11

View File

@ -468,223 +468,229 @@ begin
Options:=SrcCompilerOptions
else
Options:=CompilerOpts;
DisableAlign;
try
EnabledLinkerOpts:=Options.NeedsLinkerOpts;
EnabledLinkerOpts:=Options.NeedsLinkerOpts;
{ Get the compiler options and apply them to the dialog }
{ Get the compiler options and apply them to the dialog }
// paths
edtOtherUnits.Text := Options.OtherUnitFiles;
edtIncludeFiles.Text := Options.IncludePath;
edtLibraries.Text := Options.Libraries;
lblLibraries.Enabled:=EnabledLinkerOpts;
edtOtherSources.Text := Options.SrcPath;
edtUnitOutputDir.Text := Options.UnitOutputDirectory;
edtDebugPath.Text := Options.DebugPath;
// paths
edtOtherUnits.Text := Options.OtherUnitFiles;
edtIncludeFiles.Text := Options.IncludePath;
edtLibraries.Text := Options.Libraries;
lblLibraries.Enabled:=EnabledLinkerOpts;
edtOtherSources.Text := Options.SrcPath;
edtUnitOutputDir.Text := Options.UnitOutputDirectory;
edtDebugPath.Text := Options.DebugPath;
LCLPlatform := DirNameToLCLPlatform(Options.LCLWidgetType);
if CompareText(Options.LCLWidgetType,LCLPlatformDirNames[LCLPlatform])=0 then
LCLWidgetTypeComboBox.ItemIndex := ord(LCLPlatform)+1
else
LCLWidgetTypeComboBox.ItemIndex := 0;
LCLPlatform := DirNameToLCLPlatform(Options.LCLWidgetType);
if CompareText(Options.LCLWidgetType,LCLPlatformDirNames[LCLPlatform])=0 then
LCLWidgetTypeComboBox.ItemIndex := ord(LCLPlatform)+1
else
LCLWidgetTypeComboBox.ItemIndex := 0;
// parsing
if (Options.AssemblerStyle in [1,2,3]) then
grpAsmStyle.ItemIndex:=Options.AssemblerStyle
else
grpAsmStyle.ItemIndex:=0;
// parsing
if (Options.AssemblerStyle in [1,2,3]) then
grpAsmStyle.ItemIndex:=Options.AssemblerStyle
else
grpAsmStyle.ItemIndex:=0;
with grpSyntaxOptions do
begin
Checked[0] := Options.Delphi2Extensions;
Checked[1] := Options.CStyleOperators;
Checked[2] := Options.IncludeAssertionCode;
Checked[3] := Options.AllowLabel;
Checked[4] := Options.CPPInline;
Checked[5] := Options.CStyleMacros;
Checked[6] := Options.TPCompatible;
Checked[7] := Options.InitConstructor;
Checked[8] := Options.StaticKeyword;
Checked[9] := Options.DelphiCompat;
Checked[10] := Options.UseAnsiStrings;
Checked[11] := Options.GPCCompat;
end;
with grpSyntaxOptions do
begin
Checked[0] := Options.Delphi2Extensions;
Checked[1] := Options.CStyleOperators;
Checked[2] := Options.IncludeAssertionCode;
Checked[3] := Options.AllowLabel;
Checked[4] := Options.CPPInline;
Checked[5] := Options.CStyleMacros;
Checked[6] := Options.TPCompatible;
Checked[7] := Options.InitConstructor;
Checked[8] := Options.StaticKeyword;
Checked[9] := Options.DelphiCompat;
Checked[10] := Options.UseAnsiStrings;
Checked[11] := Options.GPCCompat;
end;
// code generation
chkSmartLinkUnit.Checked := Options.SmartLinkUnit;
// code generation
chkSmartLinkUnit.Checked := Options.SmartLinkUnit;
chkChecksIO.Checked := Options.IOChecks;
chkChecksRange.Checked := Options.RangeChecks;
chkChecksOverflow.Checked := Options.OverflowChecks;
chkChecksStack.Checked := Options.StackChecks;
chkChecksIO.Checked := Options.IOChecks;
chkChecksRange.Checked := Options.RangeChecks;
chkChecksOverflow.Checked := Options.OverflowChecks;
chkChecksStack.Checked := Options.StackChecks;
grpHeapSize.Enabled:=EnabledLinkerOpts;
edtHeapSize.Text := IntToStr(Options.HeapSize);
grpHeapSize.Enabled:=EnabledLinkerOpts;
edtHeapSize.Text := IntToStr(Options.HeapSize);
case Options.Generate of
cgcNormalCode: radGenNormal.Checked := true;
cgcFasterCode: radGenFaster.Checked := true;
cgcSmallerCode: radGenSmaller.Checked := true;
end;
case Options.Generate of
cgcNormalCode: radGenNormal.Checked := true;
cgcFasterCode: radGenFaster.Checked := true;
cgcSmallerCode: radGenSmaller.Checked := true;
end;
i:=TargetOSComboBox.Items.IndexOf(Options.TargetOS);
if i<0 then i:=0; // 0 is default
TargetOSComboBox.ItemIndex:=i;
TargetOSComboBox.Text:=Options.TargetOS;
i:=TargetCPUComboBox.Items.IndexOf(Options.TargetCPU);
if i<0 then i:=0; // 0 is default
TargetCPUComboBox.ItemIndex:=i;
TargetCPUComboBox.Text:=Options.TargetCPU;
i:=TargetOSComboBox.Items.IndexOf(Options.TargetOS);
if i<0 then i:=0; // 0 is default
TargetOSComboBox.ItemIndex:=i;
TargetOSComboBox.Text:=Options.TargetOS;
i:=TargetCPUComboBox.Items.IndexOf(Options.TargetCPU);
if i<0 then i:=0; // 0 is default
TargetCPUComboBox.ItemIndex:=i;
TargetCPUComboBox.Text:=Options.TargetCPU;
case Options.TargetProcessor of
1..3: Targeti386ProcComboBox.ItemIndex:=Options.TargetProcessor;
else
Targeti386ProcComboBox.ItemIndex := 0;
end;
case Options.TargetProcessor of
1..3: Targeti386ProcComboBox.ItemIndex:=Options.TargetProcessor;
else
Targeti386ProcComboBox.ItemIndex := 0;
end;
chkOptVarsInReg.Checked := Options.VariablesInRegisters;
chkOptUncertain.Checked := Options.UncertainOptimizations;
chkOptVarsInReg.Checked := Options.VariablesInRegisters;
chkOptUncertain.Checked := Options.UncertainOptimizations;
case Options.OptimizationLevel of
1: radOptLevel1.Checked := true;
2: radOptLevel2.Checked := true;
3: radOptLevel3.Checked := true;
else
radOptLevelNone.Checked := true;
end;
case Options.OptimizationLevel of
1: radOptLevel1.Checked := true;
2: radOptLevel2.Checked := true;
3: radOptLevel3.Checked := true;
else
radOptLevelNone.Checked := true;
end;
// linking
chkDebugGDB.Checked := Options.GenerateDebugInfo;
chkDebugDBX.Checked := Options.GenerateDebugDBX;
chkUseLineInfoUnit.Checked := Options.UseLineInfoUnit;
chkUseHeaptrc.Checked := Options.UseHeaptrc;
chkUseValgrind.Checked := Options.UseValgrind;
chkGenGProfCode.Checked := Options.GenGProfCode;
chkSymbolsStrip.Checked := Options.StripSymbols;
chkSymbolsStrip.Enabled:=EnabledLinkerOpts;
// linking
chkDebugGDB.Checked := Options.GenerateDebugInfo;
chkDebugDBX.Checked := Options.GenerateDebugDBX;
chkUseLineInfoUnit.Checked := Options.UseLineInfoUnit;
chkUseHeaptrc.Checked := Options.UseHeaptrc;
chkUseValgrind.Checked := Options.UseValgrind;
chkGenGProfCode.Checked := Options.GenGProfCode;
chkSymbolsStrip.Checked := Options.StripSymbols;
chkSymbolsStrip.Enabled:=EnabledLinkerOpts;
chkLinkSmart.Checked := Options.LinkSmart;
grpLinkLibraries.Enabled:=EnabledLinkerOpts;
chkLinkSmart.Checked := Options.LinkSmart;
grpLinkLibraries.Enabled:=EnabledLinkerOpts;
chkOptionsLinkOpt.Checked := Options.PassLinkerOptions;
edtOptionsLinkOpt.Text := Options.LinkerOptions;
chkWin32GraphicApp.Checked := Options.Win32GraphicApp;
chkWin32GraphicApp.Enabled:=EnabledLinkerOpts;
grpOptions.Enabled:=EnabledLinkerOpts;
chkOptionsLinkOpt.Checked := Options.PassLinkerOptions;
edtOptionsLinkOpt.Text := Options.LinkerOptions;
chkWin32GraphicApp.Checked := Options.Win32GraphicApp;
chkWin32GraphicApp.Enabled:=EnabledLinkerOpts;
grpOptions.Enabled:=EnabledLinkerOpts;
// messages
with grpVerbosity do
begin
Checked[0] := Options.ShowErrors;
Checked[1] := Options.ShowHintsForSenderNotUsed;
Checked[2] := Options.ShowWarn;
Checked[3] := Options.ShowDebugInfo;
Checked[4] := Options.ShowNotes;
Checked[5] := Options.ShowUsedFiles;
Checked[6] := Options.ShowHints;
Checked[7] := Options.ShowTriedFiles;
Checked[8] := Options.ShowGenInfo;
Checked[9] := Options.ShowDefMacros;
Checked[10] := Options.ShowLineNum;
Checked[11] := Options.ShowCompProc;
Checked[12] := Options.ShowAllProcsOnError;
Checked[13] := Options.ShowCond;
Checked[14] := Options.ShowAll;
Checked[15] := Options.ShowExecInfo;
Checked[16] := Options.ShowSummary;
Checked[17] := Options.ShowNothing;
Checked[18] := Options.ShowHintsForUnusedUnitsInMainSrc;
Checked[19] := Options.WriteFPCLogo;
end;
// messages
with grpVerbosity do
begin
Checked[0] := Options.ShowErrors;
Checked[1] := Options.ShowHintsForSenderNotUsed;
Checked[2] := Options.ShowWarn;
Checked[3] := Options.ShowDebugInfo;
Checked[4] := Options.ShowNotes;
Checked[5] := Options.ShowUsedFiles;
Checked[6] := Options.ShowHints;
Checked[7] := Options.ShowTriedFiles;
Checked[8] := Options.ShowGenInfo;
Checked[9] := Options.ShowDefMacros;
Checked[10] := Options.ShowLineNum;
Checked[11] := Options.ShowCompProc;
Checked[12] := Options.ShowAllProcsOnError;
Checked[13] := Options.ShowCond;
Checked[14] := Options.ShowAll;
Checked[15] := Options.ShowExecInfo;
Checked[16] := Options.ShowSummary;
Checked[17] := Options.ShowNothing;
Checked[18] := Options.ShowHintsForUnusedUnitsInMainSrc;
Checked[19] := Options.WriteFPCLogo;
end;
// other
chkConfigFile.Checked := not Options.DontUseConfigFile;
chkCustomConfigFile.Checked := Options.CustomConfigFile;
edtConfigPath.Enabled := chkCustomConfigFile.Checked;
edtConfigPath.Text := Options.ConfigFilePath;
memCustomOptions.Text := Options.CustomOptions;
// other
chkConfigFile.Checked := not Options.DontUseConfigFile;
chkCustomConfigFile.Checked := Options.CustomConfigFile;
edtConfigPath.Enabled := chkCustomConfigFile.Checked;
edtConfigPath.Text := Options.ConfigFilePath;
memCustomOptions.Text := Options.CustomOptions;
edtErrorCnt.Text := IntToStr(Options.StopAfterErrCount);
edtErrorCnt.Text := IntToStr(Options.StopAfterErrCount);
// inherited tab
UpdateInheritedTab;
// inherited tab
UpdateInheritedTab;
// compilation
chkCreateMakefile.Checked:=Options.CreateMakefileOnBuild;
// compilation
chkCreateMakefile.Checked:=Options.CreateMakefileOnBuild;
ExecuteBeforeCommandEdit.Text:=Options.ExecuteBefore.Command;
ExecuteBeforeScanFPCCheckBox.Checked:=Options.ExecuteBefore.ScanForFPCMessages;
ExecuteBeforeScanMakeCheckBox.Checked:=
ExecuteBeforeCommandEdit.Text:=Options.ExecuteBefore.Command;
ExecuteBeforeScanFPCCheckBox.Checked:=Options.ExecuteBefore.ScanForFPCMessages;
ExecuteBeforeScanMakeCheckBox.Checked:=
Options.ExecuteBefore.ScanForMakeMessages;
ExecuteBeforeShowAllCheckBox.Checked:=Options.ExecuteBefore.ShowAllMessages;
if Options.ExecuteBefore is TProjectCompilationToolOptions
then with TProjectCompilationToolOptions(Options.ExecuteBefore) do begin
chkExecBeforeCompile.Checked := crCompile in CompileReasons;
chkExecBeforeBuild.Checked := crBuild in CompileReasons;
chkExecBeforeRun.Checked := crRun in CompileReasons;
lblRunIfExecBefore.Visible := True;
chkExecBeforeCompile.Visible := True;
chkExecBeforeBuild.Visible := True;
chkExecBeforeRun.Visible := True;
end
else begin
lblRunIfExecBefore.Visible := False;
chkExecBeforeCompile.Visible := False;
chkExecBeforeBuild.Visible := False;
chkExecBeforeRun.Visible := False;
end;
ExecuteBeforeShowAllCheckBox.Checked:=Options.ExecuteBefore.ShowAllMessages;
if Options.ExecuteBefore is TProjectCompilationToolOptions
then with TProjectCompilationToolOptions(Options.ExecuteBefore) do begin
chkExecBeforeCompile.Checked := crCompile in CompileReasons;
chkExecBeforeBuild.Checked := crBuild in CompileReasons;
chkExecBeforeRun.Checked := crRun in CompileReasons;
lblRunIfExecBefore.Visible := True;
chkExecBeforeCompile.Visible := True;
chkExecBeforeBuild.Visible := True;
chkExecBeforeRun.Visible := True;
end
else begin
lblRunIfExecBefore.Visible := False;
chkExecBeforeCompile.Visible := False;
chkExecBeforeBuild.Visible := False;
chkExecBeforeRun.Visible := False;
end;
edtCompiler.Text := Options.CompilerPath;
if Options is TProjectCompilerOptions
then with TProjectCompilerOptions(Options) do begin
lblRunIfCompiler.Visible := True;
chkCompilerCompile.AnchorToNeighbour(akLeft,6,lblRunIfCompiler);
chkCompilerCompile.Checked := crCompile in CompileReasons;
chkCompilerBuild.Checked := crBuild in CompileReasons;
chkCompilerRun.Checked := crRun in CompileReasons;
chkCompilerCompile.Caption := lisCOCallOnCompile;
chkCompilerCompile.Visible := True;
chkCompilerBuild.Visible := True;
chkCompilerRun.Visible := True;
lblCompiler.AnchorParallel(akLeft,0,lblRunIfCompiler);
end
else if Options is TPkgCompilerOptions
then begin
lblRunIfCompiler.Visible := False;
chkCompilerCompile.AnchorParallel(akLeft,6,chkCompilerCompile.Parent);
chkCompilerCompile.Visible := True;
chkCompilerCompile.Caption := lisCOSkipCallingCompiler;
chkCompilerCompile.Checked := TPkgCompilerOptions(Options).SkipCompiler;
chkCompilerBuild.Visible := False;
chkCompilerRun.Visible := False;
lblCompiler.AnchorParallel(akLeft,6,lblCompiler.Parent);
end
else begin
lblRunIfCompiler.Visible := False;
chkCompilerCompile.Visible := False;
chkCompilerBuild.Visible := False;
chkCompilerRun.Visible := False;
end;
edtCompiler.Text := Options.CompilerPath;
if Options is TProjectCompilerOptions
then with TProjectCompilerOptions(Options) do begin
lblRunIfCompiler.Visible := True;
chkCompilerCompile.AnchorToNeighbour(akLeft,30,lblRunIfCompiler);
chkCompilerCompile.Checked := crCompile in CompileReasons;
chkCompilerBuild.Checked := crBuild in CompileReasons;
chkCompilerRun.Checked := crRun in CompileReasons;
chkCompilerCompile.Caption := lisCOCallOnCompile;
chkCompilerCompile.Visible := True;
chkCompilerBuild.Visible := True;
chkCompilerRun.Visible := True;
lblCompiler.AnchorToNeighbour(akTop,6,lblRunIfCompiler);
end
else if Options is TPkgCompilerOptions
then begin
lblRunIfCompiler.Visible := False;
chkCompilerCompile.AnchorParallel(akTop,6,chkCompilerCompile.Parent);
chkCompilerCompile.AnchorParallel(akLeft,6,chkCompilerCompile.Parent);
chkCompilerCompile.Visible := True;
chkCompilerCompile.Caption := lisCOSkipCallingCompiler;
chkCompilerCompile.Checked := TPkgCompilerOptions(Options).SkipCompiler;
chkCompilerBuild.Visible := False;
chkCompilerRun.Visible := False;
lblCompiler.AnchorToNeighbour(akTop,6,chkCompilerCompile);
end
else begin
lblRunIfCompiler.Visible := False;
chkCompilerCompile.Visible := False;
chkCompilerBuild.Visible := False;
chkCompilerRun.Visible := False;
lblCompiler.AnchorParallel(akTop,6,lblCompiler.Parent);
end;
ExecuteAfterCommandEdit.Text:=Options.ExecuteAfter.Command;
ExecuteAfterScanFPCCheckBox.Checked:=Options.ExecuteAfter.ScanForFPCMessages;
ExecuteAfterScanMakeCheckBox.Checked:=Options.ExecuteAfter.ScanForMakeMessages;
ExecuteAfterShowAllCheckBox.Checked:=Options.ExecuteAfter.ShowAllMessages;
if Options.ExecuteAfter is TProjectCompilationToolOptions
then with TProjectCompilationToolOptions(Options.ExecuteAfter) do begin
chkExecAfterCompile.Checked := crCompile in CompileReasons;
chkExecAfterBuild.Checked := crBuild in CompileReasons;
chkExecAfterRun.Checked := crRun in CompileReasons;
lblRunIfExecAfter.Visible := True;
chkExecAfterCompile.Visible := True;
chkExecAfterBuild.Visible := True;
chkExecAfterRun.Visible := True;
end
else begin
lblRunIfExecAfter.Visible := False;
chkExecAfterCompile.Visible := False;
chkExecAfterBuild.Visible := False;
chkExecAfterRun.Visible := False;
ExecuteAfterCommandEdit.Text:=Options.ExecuteAfter.Command;
ExecuteAfterScanFPCCheckBox.Checked:=Options.ExecuteAfter.ScanForFPCMessages;
ExecuteAfterScanMakeCheckBox.Checked:=Options.ExecuteAfter.ScanForMakeMessages;
ExecuteAfterShowAllCheckBox.Checked:=Options.ExecuteAfter.ShowAllMessages;
if Options.ExecuteAfter is TProjectCompilationToolOptions
then with TProjectCompilationToolOptions(Options.ExecuteAfter) do begin
chkExecAfterCompile.Checked := crCompile in CompileReasons;
chkExecAfterBuild.Checked := crBuild in CompileReasons;
chkExecAfterRun.Checked := crRun in CompileReasons;
lblRunIfExecAfter.Visible := True;
chkExecAfterCompile.Visible := True;
chkExecAfterBuild.Visible := True;
chkExecAfterRun.Visible := True;
end
else begin
lblRunIfExecAfter.Visible := False;
chkExecAfterCompile.Visible := False;
chkExecAfterBuild.Visible := False;
chkExecAfterRun.Visible := False;
end;
finally
EnableAlign;
end;
end;