mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 11:39:09 +02:00
IDE: add hints to compiler path options and compilation options.
git-svn-id: trunk@46717 -
This commit is contained in:
parent
6551c9ca73
commit
b3f6a86aec
@ -16,6 +16,8 @@ object CompilerCompilationOptionsFrame: TCompilerCompilationOptionsFrame
|
|||||||
Top = 0
|
Top = 0
|
||||||
Width = 136
|
Width = 136
|
||||||
Caption = 'chkCreateMakefile'
|
Caption = 'chkCreateMakefile'
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
end
|
end
|
||||||
object ExecuteAfterGroupBox: TGroupBox
|
object ExecuteAfterGroupBox: TGroupBox
|
||||||
|
@ -142,6 +142,7 @@ end;
|
|||||||
procedure TCompilerCompilationOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
procedure TCompilerCompilationOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||||
begin
|
begin
|
||||||
chkCreateMakefile.Caption := dlgCOCreateMakefile;
|
chkCreateMakefile.Caption := dlgCOCreateMakefile;
|
||||||
|
chkCreateMakefile.Hint := lisEnabledOnlyForPackages;
|
||||||
|
|
||||||
ExecuteBeforeGroupBox.Caption := lisCOExecuteBefore;
|
ExecuteBeforeGroupBox.Caption := lisCOExecuteBefore;
|
||||||
chkExecBeforeBuild.Caption := lisBuildStage;
|
chkExecBeforeBuild.Caption := lisBuildStage;
|
||||||
|
@ -106,11 +106,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 15
|
Top = 20
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Text = 'OtherUnitsEdit'
|
Text = 'OtherUnitsEdit'
|
||||||
end
|
end
|
||||||
@ -121,11 +123,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 61
|
Top = 74
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Text = 'IncludeFilesEdit'
|
Text = 'IncludeFilesEdit'
|
||||||
end
|
end
|
||||||
@ -136,11 +140,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 266
|
Top = 314
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
Text = 'OtherSourcesEdit'
|
Text = 'OtherSourcesEdit'
|
||||||
end
|
end
|
||||||
@ -151,11 +157,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 107
|
Top = 128
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Text = 'LibrariesEdit'
|
Text = 'LibrariesEdit'
|
||||||
end
|
end
|
||||||
@ -166,11 +174,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 153
|
Top = 182
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
Text = 'UnitOutputDirEdit'
|
Text = 'UnitOutputDirEdit'
|
||||||
end
|
end
|
||||||
@ -181,11 +191,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 312
|
Top = 368
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 7
|
TabOrder = 7
|
||||||
Text = 'DebugPathEdit'
|
Text = 'DebugPathEdit'
|
||||||
end
|
end
|
||||||
@ -207,11 +219,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 28
|
||||||
Top = 199
|
Top = 236
|
||||||
Width = 509
|
Width = 509
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
OnChange = ProjTargetFileEditChange
|
OnChange = ProjTargetFileEditChange
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
Text = 'ProjTargetFileEdit'
|
Text = 'ProjTargetFileEdit'
|
||||||
end
|
end
|
||||||
@ -221,11 +235,13 @@ object CompilerPathOptionsFrame: TCompilerPathOptionsFrame
|
|||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 21
|
Height = 24
|
||||||
Top = 224
|
Top = 264
|
||||||
Width = 257
|
Width = 277
|
||||||
BorderSpacing.Bottom = 6
|
BorderSpacing.Bottom = 6
|
||||||
Caption = 'ProjTargetApplyConventionsCheckBox'
|
Caption = 'ProjTargetApplyConventionsCheckBox'
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -606,6 +606,7 @@ begin
|
|||||||
FDialog:=ADialog;
|
FDialog:=ADialog;
|
||||||
ProjTargetFileEdit.Text:='';
|
ProjTargetFileEdit.Text:='';
|
||||||
ProjTargetApplyConventionsCheckBox.Caption:=lisApplyConventions;
|
ProjTargetApplyConventionsCheckBox.Caption:=lisApplyConventions;
|
||||||
|
ProjTargetApplyConventionsCheckBox.Hint:=lisApplyConventionsHint;
|
||||||
|
|
||||||
OtherUnitsLabel.Caption := dlgOtherUnitFiles;
|
OtherUnitsLabel.Caption := dlgOtherUnitFiles;
|
||||||
OtherUnitsPathEditBtn := TPathEditorButton.Create(Self);
|
OtherUnitsPathEditBtn := TPathEditorButton.Create(Self);
|
||||||
@ -624,6 +625,7 @@ begin
|
|||||||
TabOrder:=1;
|
TabOrder:=1;
|
||||||
end;
|
end;
|
||||||
OtherUnitsEdit.AnchorToNeighbour(akRight, 0, OtherUnitsPathEditBtn);
|
OtherUnitsEdit.AnchorToNeighbour(akRight, 0, OtherUnitsPathEditBtn);
|
||||||
|
OtherUnitsEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
@ -644,6 +646,7 @@ begin
|
|||||||
TabOrder:=3;
|
TabOrder:=3;
|
||||||
end;
|
end;
|
||||||
IncludeFilesEdit.AnchorToNeighbour(akRight, 0, IncludeFilesPathEditBtn);
|
IncludeFilesEdit.AnchorToNeighbour(akRight, 0, IncludeFilesPathEditBtn);
|
||||||
|
IncludeFilesEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
@ -664,6 +667,7 @@ begin
|
|||||||
TabOrder:=9;
|
TabOrder:=9;
|
||||||
end;
|
end;
|
||||||
OtherSourcesEdit.AnchorToNeighbour(akRight, 0, OtherSourcesPathEditBtn);
|
OtherSourcesEdit.AnchorToNeighbour(akRight, 0, OtherSourcesPathEditBtn);
|
||||||
|
OtherSourcesEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
@ -684,6 +688,7 @@ begin
|
|||||||
TabOrder:=5;
|
TabOrder:=5;
|
||||||
end;
|
end;
|
||||||
LibrariesEdit.AnchorToNeighbour(akRight, 0, LibrariesPathEditBtn);
|
LibrariesEdit.AnchorToNeighbour(akRight, 0, LibrariesPathEditBtn);
|
||||||
|
LibrariesEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
@ -703,6 +708,9 @@ begin
|
|||||||
TabOrder:=7;
|
TabOrder:=7;
|
||||||
end;
|
end;
|
||||||
UnitOutputDirEdit.AnchorToNeighbour(akRight, 0, btnUnitOutputDir);
|
UnitOutputDirEdit.AnchorToNeighbour(akRight, 0, btnUnitOutputDir);
|
||||||
|
UnitOutputDirEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
|
ProjTargetFileEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
@ -723,6 +731,7 @@ begin
|
|||||||
TabOrder:=13;
|
TabOrder:=13;
|
||||||
end;
|
end;
|
||||||
DebugPathEdit.AnchorToNeighbour(akRight, 0, DebugPathEditBtn);
|
DebugPathEdit.AnchorToNeighbour(akRight, 0, DebugPathEditBtn);
|
||||||
|
DebugPathEdit.Hint := lisDelimiterIsSemicolon;
|
||||||
|
|
||||||
{------------------------------------------------------------}
|
{------------------------------------------------------------}
|
||||||
|
|
||||||
|
@ -2102,32 +2102,38 @@ resourcestring
|
|||||||
lisCustomOptHint = 'These options are passed to the compiler after'
|
lisCustomOptHint = 'These options are passed to the compiler after'
|
||||||
+' comments are deleted and macros are replaced.';
|
+' comments are deleted and macros are replaced.';
|
||||||
dlgStopAfterNrErr = 'Stop after number of errors:';
|
dlgStopAfterNrErr = 'Stop after number of errors:';
|
||||||
dlgOtherUnitFiles = 'Other unit files (-Fu) (delimiter is semicolon):';
|
|
||||||
|
lisApplyConventions = 'Apply conventions';
|
||||||
|
lisApplyConventionsHint = 'Adjust name extension and character case for platform and file type.';
|
||||||
|
dlgOtherUnitFiles = 'Other unit files (-Fu):';
|
||||||
dlgCOIncFiles = 'Include files (-Fi):';
|
dlgCOIncFiles = 'Include files (-Fi):';
|
||||||
dlgCOSources = 'Other sources (.pp/.pas files, used only by IDE not by compiler)';
|
|
||||||
dlgCOLibraries = 'Libraries (-Fl):';
|
dlgCOLibraries = 'Libraries (-Fl):';
|
||||||
|
dlgUnitOutp = 'Unit output directory (-FU):';
|
||||||
|
lisTargetFileNameEmptyUseUnitOutputDirectory = 'Target file name: (-o, empty = '
|
||||||
|
+'use unit output directory)';
|
||||||
|
lisTargetFileNameO = 'Target file name (-o):';
|
||||||
|
dlgCOSources = 'Other sources (.pp/.pas files, used only by IDE not by compiler)';
|
||||||
dlgCODebugPath = 'Debugger path addition (none):';
|
dlgCODebugPath = 'Debugger path addition (none):';
|
||||||
|
lisDelimiterIsSemicolon = 'Delimiter is semicolon.';
|
||||||
lisCompiler = 'Compiler';
|
lisCompiler = 'Compiler';
|
||||||
lisDebugger = 'Debugger';
|
lisDebugger = 'Debugger';
|
||||||
lisToFPCPath = 'Path:';
|
lisToFPCPath = 'Path:';
|
||||||
lisCOSkipCallingCompiler = 'Skip calling compiler';
|
lisCOSkipCallingCompiler = 'Skip calling compiler';
|
||||||
lisCOAmbiguousAdditionalCompilerConfigFile = 'Ambiguous additional compiler '
|
lisCOAmbiguousAdditionalCompilerConfigFile = 'Ambiguous additional compiler config file';
|
||||||
+'config file';
|
|
||||||
lisCOWarningTheAdditionalCompilerConfigFileHasTheSameNa = 'Warning: The '
|
lisCOWarningTheAdditionalCompilerConfigFileHasTheSameNa = 'Warning: The '
|
||||||
+'additional compiler config file has the same name, as one of the '
|
+'additional compiler config file has the same name, as one of the '
|
||||||
+'standard config filenames the Free Pascal compiler is looking for. This '
|
+'standard config filenames the Free Pascal compiler is looking for. This '
|
||||||
+'can result in ONLY parsing the additional config and skipping the '
|
+'can result in ONLY parsing the additional config and skipping the standard config.';
|
||||||
+'standard config.';
|
|
||||||
lisCOClickOKIfAreSureToDoThat = '%s%sClick OK if you definitely want to do that.';
|
lisCOClickOKIfAreSureToDoThat = '%s%sClick OK if you definitely want to do that.';
|
||||||
lisCOCallOn = 'Call on:';
|
lisCOCallOn = 'Call on:';
|
||||||
dlgCOCreateMakefile = 'Create Makefile';
|
dlgCOCreateMakefile = 'Create Makefile';
|
||||||
|
lisEnabledOnlyForPackages = 'Enabled only for packages.';
|
||||||
lisCOExecuteAfter = 'Execute after';
|
lisCOExecuteAfter = 'Execute after';
|
||||||
lisCOExecuteBefore = 'Execute before';
|
lisCOExecuteBefore = 'Execute before';
|
||||||
lisCOCommand = 'Command:';
|
lisCOCommand = 'Command:';
|
||||||
lisCOScanForMessages = 'Scan for messages:';
|
lisCOScanForMessages = 'Scan for messages:';
|
||||||
lisCOScanForFPCMessages = 'Scan for FPC messages';
|
lisCOScanForFPCMessages = 'Scan for FPC messages';
|
||||||
lisCOScanForMakeMessages = 'Scan for Make messages';
|
lisCOScanForMakeMessages = 'Scan for Make messages';
|
||||||
dlgUnitOutp = 'Unit output directory (-FU):';
|
|
||||||
dlgCOShowOptions = '&Show Options';
|
dlgCOShowOptions = '&Show Options';
|
||||||
lisCompTest = '&Test';
|
lisCompTest = '&Test';
|
||||||
dlgCOLoadSaveHint = 'Compiler options can be saved to an XML file.';
|
dlgCOLoadSaveHint = 'Compiler options can be saved to an XML file.';
|
||||||
@ -2310,8 +2316,6 @@ resourcestring
|
|||||||
dlgPOSaveSession = 'Session';
|
dlgPOSaveSession = 'Session';
|
||||||
dlgApplicationSettings = 'Application settings';
|
dlgApplicationSettings = 'Application settings';
|
||||||
dlgPOTitle = 'Title:';
|
dlgPOTitle = 'Title:';
|
||||||
lisTargetFileNameEmptyUseUnitOutputDirectory = 'Target file name: (-o, empty = '
|
|
||||||
+'use unit output directory)';
|
|
||||||
lisHint = 'Hint';
|
lisHint = 'Hint';
|
||||||
lisNote = 'Note';
|
lisNote = 'Note';
|
||||||
lisTheContainsAStarCharacterLazarusUsesThisAsNormalCh = 'The %s contains a '
|
lisTheContainsAStarCharacterLazarusUsesThisAsNormalCh = 'The %s contains a '
|
||||||
@ -2321,7 +2325,6 @@ resourcestring
|
|||||||
lisTheOtherSourcesContainsADirectoryWhichIsAlreadyInT = 'The "Other sources" '
|
lisTheOtherSourcesContainsADirectoryWhichIsAlreadyInT = 'The "Other sources" '
|
||||||
+'contains a directory which is already in the "Other unit files".%s%s';
|
+'contains a directory which is already in the "Other unit files".%s%s';
|
||||||
lisRemoveThePathsFromOtherSources = 'Remove the paths from "Other sources"';
|
lisRemoveThePathsFromOtherSources = 'Remove the paths from "Other sources"';
|
||||||
lisTargetFileNameO = 'Target file name (-o):';
|
|
||||||
dlgPOUseAppBundle = 'Use Application Bundle for running and debugging (Darwin only)';
|
dlgPOUseAppBundle = 'Use Application Bundle for running and debugging (Darwin only)';
|
||||||
dlgPOCreateAppBundle = 'Create Application Bundle';
|
dlgPOCreateAppBundle = 'Create Application Bundle';
|
||||||
dlgPOUseManifest = 'Use manifest file to enable themes (Windows only)';
|
dlgPOUseManifest = 'Use manifest file to enable themes (Windows only)';
|
||||||
@ -5443,7 +5446,6 @@ resourcestring
|
|||||||
|
|
||||||
//Disassembler dialog
|
//Disassembler dialog
|
||||||
lisDisAssAssembler = 'Assembler';
|
lisDisAssAssembler = 'Assembler';
|
||||||
lisApplyConventions = 'Apply conventions';
|
|
||||||
lisKeepRelativeIndentationOfMultiLineTemplate = 'Keep relative indentation '
|
lisKeepRelativeIndentationOfMultiLineTemplate = 'Keep relative indentation '
|
||||||
+'of multi line template';
|
+'of multi line template';
|
||||||
lisTheCurrentFPCHasNoConfigFileItWillProbablyMissSome = 'The current FPC '
|
lisTheCurrentFPCHasNoConfigFileItWillProbablyMissSome = 'The current FPC '
|
||||||
|
Loading…
Reference in New Issue
Block a user