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

Function GetTopBuildDir

Source/cmCMakePkgConfigCommand.cxx:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258cm::optional<std::string> GetTopBuildDir(cmMakefile& mf)
259{
260 return GetPath(mf, "CMAKE_PKG_CONFIG_TOP_BUILD_DIR",
261 "PKG_CONFIG_TOP_BUILD_DIR",
262 "Package file top_build_dir variable default value");
263}
264
265bool GetBool(cmMakefile& mf, char const* cachevar, char const* envvar,
266 char const* desc)

Callers 1

CollectEnvFunction · 0.85

Calls 1

GetPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…