mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Extension inner type visibility fix
This commit is contained in:
parent
fb3cd1ac83
commit
69fab22a39
6 changed files with 43 additions and 8 deletions
|
@ -1113,6 +1113,24 @@ bool BfProject::IsTestProject()
|
|||
return mTargetType == BfTargetType_BeefTest;
|
||||
}
|
||||
|
||||
bool BfProject::HasDependency(BfProject* project)
|
||||
{
|
||||
if (mDependencySet.IsEmpty())
|
||||
{
|
||||
auto _AddProject = [&](BfProject* addProject)
|
||||
{
|
||||
if (mDependencySet.Add(addProject))
|
||||
{
|
||||
for (auto dep : addProject->mDependencies)
|
||||
mDependencySet.Add(dep);
|
||||
}
|
||||
};
|
||||
_AddProject(this);
|
||||
|
||||
}
|
||||
return mDependencySet.Contains(project);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
BfErrorBase::~BfErrorBase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue