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

Method DumpMinimumCMakeVersion

Source/cmFileAPICodemodel.cxx:897–905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897Json::Value CodemodelConfig::DumpMinimumCMakeVersion(cmStateSnapshot s)
898{
899 Json::Value minimumCMakeVersion;
900 if (cmValue def = s.GetDefinition("CMAKE_MINIMUM_REQUIRED_VERSION")) {
901 minimumCMakeVersion = Json::objectValue;
902 minimumCMakeVersion["string"] = *def;
903 }
904 return minimumCMakeVersion;
905}
906
907DirectoryObject::DirectoryObject(cmLocalGenerator const* lg,
908 unsigned int versionMajor,

Callers 1

DumpDirectoryMethod · 0.95

Calls 1

GetDefinitionMethod · 0.45

Tested by

no test coverage detected