mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 03:36:08 +02:00
IDE: compiler options: fixed setting modified flag when changing create makefile
git-svn-id: trunk@36219 -
This commit is contained in:
parent
cc38536b22
commit
092067fc90
@ -445,6 +445,7 @@ type
|
|||||||
fCompilerMessages: TCompilerMessagesList;
|
fCompilerMessages: TCompilerMessagesList;
|
||||||
|
|
||||||
procedure OnItemChanged(Sender: TObject);
|
procedure OnItemChanged(Sender: TObject);
|
||||||
|
procedure SetCreateMakefileOnBuild(AValue: boolean);
|
||||||
protected
|
protected
|
||||||
function GetCompilerPath: String;
|
function GetCompilerPath: String;
|
||||||
function GetBaseDirectory: string;
|
function GetBaseDirectory: string;
|
||||||
@ -582,7 +583,7 @@ type
|
|||||||
property ExecuteBefore: TCompilationToolOptions read fExecuteBefore;
|
property ExecuteBefore: TCompilationToolOptions read fExecuteBefore;
|
||||||
property ExecuteAfter: TCompilationToolOptions read fExecuteAfter;
|
property ExecuteAfter: TCompilationToolOptions read fExecuteAfter;
|
||||||
property CreateMakefileOnBuild: boolean read FCreateMakefileOnBuild
|
property CreateMakefileOnBuild: boolean read FCreateMakefileOnBuild
|
||||||
write FCreateMakefileOnBuild;
|
write SetCreateMakefileOnBuild;
|
||||||
|
|
||||||
// compiler messages
|
// compiler messages
|
||||||
property CompilerMessages: TCompilerMessagesList read fCompilerMessages;
|
property CompilerMessages: TCompilerMessagesList read fCompilerMessages;
|
||||||
@ -1177,6 +1178,13 @@ begin
|
|||||||
IncreaseChangeStamp;
|
IncreaseChangeStamp;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TBaseCompilerOptions.SetCreateMakefileOnBuild(AValue: boolean);
|
||||||
|
begin
|
||||||
|
if FCreateMakefileOnBuild=AValue then Exit;
|
||||||
|
FCreateMakefileOnBuild:=AValue;
|
||||||
|
IncreaseChangeStamp;
|
||||||
|
end;
|
||||||
|
|
||||||
function TBaseCompilerOptions.GetCompilerPath: String;
|
function TBaseCompilerOptions.GetCompilerPath: String;
|
||||||
begin
|
begin
|
||||||
Result:=ParsedOpts.Values[pcosCompilerPath].UnparsedValue;
|
Result:=ParsedOpts.Values[pcosCompilerPath].UnparsedValue;
|
||||||
|
@ -45,7 +45,6 @@ type
|
|||||||
lblRunIfExecAfter: TLabel;
|
lblRunIfExecAfter: TLabel;
|
||||||
lblRunIfExecBefore: TLabel;
|
lblRunIfExecBefore: TLabel;
|
||||||
private
|
private
|
||||||
{ private declarations }
|
|
||||||
public
|
public
|
||||||
function GetTitle: string; override;
|
function GetTitle: string; override;
|
||||||
procedure Setup(ADialog: TAbstractOptionsEditorDialog); override;
|
procedure Setup(ADialog: TAbstractOptionsEditorDialog); override;
|
||||||
|
Loading…
Reference in New Issue
Block a user