mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 01:21:03 +02:00
projectgroups: fixed adding missing targets, bug #35243
git-svn-id: branches/fixes_2_0@60713 -
This commit is contained in:
parent
e2443aa25b
commit
e17c66ab4b
@ -729,7 +729,6 @@ begin
|
||||
RaiseGDBException(AFileName);
|
||||
if CompareFilenames(AFileName,FileName)=0 then
|
||||
raise Exception.Create(lisInvalidCycleAProjectGroupCannotHaveItselfAsTarget);
|
||||
if not FileExistsCached(AFileName) then exit;
|
||||
Result:=TIDECompileTarget.Create(CompileTarget);
|
||||
Result.FileName:=AFileName;
|
||||
FTargets.Add(Result);
|
||||
@ -870,6 +869,7 @@ begin
|
||||
begin
|
||||
Target:=TIDECompileTarget(AddTarget(TargetFileName));
|
||||
Target.Removed:=True;
|
||||
Include(Options,pgloRemoveInvalid);
|
||||
end;
|
||||
else
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user