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

Function TryGeneratedPaths

Source/cmFindPackageCommand.cxx:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392
393template <typename CallbackFn>
394bool TryGeneratedPaths(CallbackFn&& filesCollector,
395 cmFindPackageCommand::PackageDescriptionType type,
396 std::string const& fullPath)
397{
398 assert(!fullPath.empty() && fullPath.back() == '/');
399 return std::forward<CallbackFn&&>(filesCollector)(fullPath, type);
400}
401
402template <typename CallbackFn, typename Generator, typename... Rest>
403bool TryGeneratedPaths(CallbackFn&& filesCollector,

Callers 4

SearchPrefixMethod · 0.85
SearchFrameworkPrefixMethod · 0.85
SearchAppBundlePrefixMethod · 0.85

Calls 4

ResetGeneratorFunction · 0.85
emptyMethod · 0.45
backMethod · 0.45
GetNextCandidateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…