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

Method IsSynthetic

Source/cmTarget.cxx:2804–2817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2802}
2803
2804bool cmTarget::IsSynthetic() const
2805{
2806 switch (this->impl->TargetVisibility) {
2807 case Visibility::Generated:
2808 return true;
2809 case Visibility::Normal:
2810 case Visibility::Imported:
2811 case Visibility::ImportedGlobally:
2812 case Visibility::Foreign:
2813 return false;
2814 }
2815 assert(false && "unknown visibility (IsSynthetic)");
2816 return false;
2817}
2818
2819bool cmTargetInternals::IsImported() const
2820{

Callers 4

CanCompileSourcesMethod · 0.95
ForTargetMethod · 0.45
GenerateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected