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

Method GetPredefinedTargetsFolder

Source/cmGlobalGenerator.cxx:3476–3486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3474}
3475
3476std::string cmGlobalGenerator::GetPredefinedTargetsFolder() const
3477{
3478 cmValue prop = this->GetCMakeInstance()->GetState()->GetGlobalProperty(
3479 "PREDEFINED_TARGETS_FOLDER");
3480
3481 if (prop) {
3482 return *prop;
3483 }
3484
3485 return "CMakePredefinedTargets";
3486}
3487
3488bool cmGlobalGenerator::UseFolderProperty() const
3489{

Callers 5

CreateGlobalTargetMethod · 0.95
AddCheckTargetMethod · 0.80
AddAllTargetMethod · 0.80
AddCheckTargetMethod · 0.80
AddExtraIDETargetsMethod · 0.80

Calls 3

GetCMakeInstanceMethod · 0.95
GetGlobalPropertyMethod · 0.80
GetStateMethod · 0.45

Tested by

no test coverage detected