MCPcopy Create free account
hub / github.com/Kitware/CMake / IsDependedOn

Method IsDependedOn

Source/cmGlobalVisualStudioGenerator.cxx:816–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816bool cmGlobalVisualStudioGenerator::IsDependedOn(
817 TargetDependSet const& projectTargets, cmGeneratorTarget const* gtIn) const
818{
819 return std::any_of(projectTargets.begin(), projectTargets.end(),
820 [this, gtIn](cmTargetDepend const& l) {
821 TargetDependSet const& tgtdeps =
822 this->GetTargetDirectDepends(l);
823 return tgtdeps.count(gtIn);
824 });
825}
826
827std::set<std::string> cmGlobalVisualStudioGenerator::IsPartOfDefaultBuild(
828 std::vector<std::string> const& configs,

Callers 1

IsPartOfDefaultBuildMethod · 0.95

Calls 4

beginMethod · 0.45
endMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected