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

Method IsSet

Source/cmMakefile.cxx:2208–2224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2206}
2207
2208bool cmMakefile::IsSet(std::string const& name) const
2209{
2210 cmValue value = this->GetDefinition(name);
2211 if (!value) {
2212 return false;
2213 }
2214
2215 if (value->empty()) {
2216 return false;
2217 }
2218
2219 if (cmIsNOTFOUND(*value)) {
2220 return false;
2221 }
2222
2223 return true;
2224}
2225
2226bool cmMakefile::PlatformIs32Bit() const
2227{

Callers 15

SetPolicyMethod · 0.95
WriteObjectRuleFilesMethod · 0.45
ComputeMethod · 0.45
GenerateMethod · 0.45
EnableLanguageMethod · 0.45
AddCompileOptionsMethod · 0.45

Calls 3

GetDefinitionMethod · 0.95
cmIsNOTFOUNDFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected