1
0
Fork 0
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:
Brian Fiete 2025-01-02 14:17:33 -08:00
parent fb3cd1ac83
commit 69fab22a39
6 changed files with 43 additions and 8 deletions

View file

@ -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()