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

Method AddNewUtilityTarget

Source/cmMakefile.cxx:2082–2090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2080}
2081
2082cmTarget* cmMakefile::AddNewUtilityTarget(std::string const& utilityName,
2083 bool excludeFromAll)
2084{
2085 cmTarget* target = this->AddNewTarget(cmStateEnums::UTILITY, utilityName);
2086 if (excludeFromAll) {
2087 target->SetProperty("EXCLUDE_FROM_ALL", "TRUE");
2088 }
2089 return target;
2090}
2091
2092namespace {
2093}

Callers 5

AddUtilityCommandMethod · 0.95
AddUtilityCommandMethod · 0.80

Calls 2

AddNewTargetMethod · 0.95
SetPropertyMethod · 0.45

Tested by

no test coverage detected