mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 17:33:18 +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;
|
||||
fExecuteAfter: TCompilationToolOptions;
|
||||
FCreateMakefileOnBuild: boolean;
|
||||
procedure SetTargetFilename(const AValue: String);
|
||||
protected
|
||||
procedure SetBaseDirectory(const AValue: string); override;
|
||||
procedure SetCompilerPath(const AValue: String); override;
|
||||
@ -374,7 +375,7 @@ type
|
||||
// Properties
|
||||
property ParsedOpts: TParsedCompilerOptions read FParsedOpts;
|
||||
property BaseDirectory: string read FBaseDirectory write SetBaseDirectory;
|
||||
property TargetFilename: String read fTargetFilename write fTargetFilename;
|
||||
property TargetFilename: String read fTargetFilename write SetTargetFilename;
|
||||
property DefaultMakeOptionsFlags: TCompilerCmdLineOptions
|
||||
read FDefaultMakeOptionsFlags write SetDefaultMakeOptionsFlags;
|
||||
|
||||
@ -938,6 +939,13 @@ begin
|
||||
IncreaseCompilerParseStamp;
|
||||
end;
|
||||
|
||||
procedure TBaseCompilerOptions.SetTargetFilename(const AValue: String);
|
||||
begin
|
||||
if fTargetFilename=AValue then exit;
|
||||
fTargetFilename:=AValue;
|
||||
Modified:=true;
|
||||
end;
|
||||
|
||||
procedure TBaseCompilerOptions.SetBaseDirectory(const AValue: string);
|
||||
begin
|
||||
if FBaseDirectory=AValue then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user