mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 05:56:05 +02:00
IDE: TProject.TargetFilename now sets modified
git-svn-id: trunk@16047 -
This commit is contained in:
parent
7a365a3838
commit
48d36bc7b2
@ -278,6 +278,7 @@ type
|
|||||||
fExecuteBefore: TCompilationToolOptions;
|
fExecuteBefore: TCompilationToolOptions;
|
||||||
fExecuteAfter: TCompilationToolOptions;
|
fExecuteAfter: TCompilationToolOptions;
|
||||||
FCreateMakefileOnBuild: boolean;
|
FCreateMakefileOnBuild: boolean;
|
||||||
|
procedure SetTargetFilename(const AValue: String);
|
||||||
protected
|
protected
|
||||||
procedure SetBaseDirectory(const AValue: string); override;
|
procedure SetBaseDirectory(const AValue: string); override;
|
||||||
procedure SetCompilerPath(const AValue: String); override;
|
procedure SetCompilerPath(const AValue: String); override;
|
||||||
@ -374,7 +375,7 @@ type
|
|||||||
// Properties
|
// Properties
|
||||||
property ParsedOpts: TParsedCompilerOptions read FParsedOpts;
|
property ParsedOpts: TParsedCompilerOptions read FParsedOpts;
|
||||||
property BaseDirectory: string read FBaseDirectory write SetBaseDirectory;
|
property BaseDirectory: string read FBaseDirectory write SetBaseDirectory;
|
||||||
property TargetFilename: String read fTargetFilename write fTargetFilename;
|
property TargetFilename: String read fTargetFilename write SetTargetFilename;
|
||||||
property DefaultMakeOptionsFlags: TCompilerCmdLineOptions
|
property DefaultMakeOptionsFlags: TCompilerCmdLineOptions
|
||||||
read FDefaultMakeOptionsFlags write SetDefaultMakeOptionsFlags;
|
read FDefaultMakeOptionsFlags write SetDefaultMakeOptionsFlags;
|
||||||
|
|
||||||
@ -938,6 +939,13 @@ begin
|
|||||||
IncreaseCompilerParseStamp;
|
IncreaseCompilerParseStamp;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TBaseCompilerOptions.SetTargetFilename(const AValue: String);
|
||||||
|
begin
|
||||||
|
if fTargetFilename=AValue then exit;
|
||||||
|
fTargetFilename:=AValue;
|
||||||
|
Modified:=true;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TBaseCompilerOptions.SetBaseDirectory(const AValue: string);
|
procedure TBaseCompilerOptions.SetBaseDirectory(const AValue: string);
|
||||||
begin
|
begin
|
||||||
if FBaseDirectory=AValue then exit;
|
if FBaseDirectory=AValue then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user