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

Method IsImported

Source/cmTarget.cxx:2819–2832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2817}
2818
2819bool cmTargetInternals::IsImported() const
2820{
2821 switch (this->TargetVisibility) {
2822 case cmTarget::Visibility::Imported:
2823 case cmTarget::Visibility::ImportedGlobally:
2824 case cmTarget::Visibility::Foreign:
2825 return true;
2826 case cmTarget::Visibility::Normal:
2827 case cmTarget::Visibility::Generated:
2828 return false;
2829 }
2830 assert(false && "unknown visibility (IsImported)");
2831 return false;
2832}
2833
2834bool cmTarget::IsImported() const
2835{

Callers 15

CheckImportedLibNameMethod · 0.95
EnforceUniqueNameMethod · 0.45
CreateIfAnyMethod · 0.45
ComputeKindedSourcesMethod · 0.45
AddLinkEntriesMethod · 0.45
HandleTargetsModeFunction · 0.45
GetLocationMethod · 0.45
IndexTargetMethod · 0.45
IndexGeneratorTargetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected