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

Method IsRuntimeBinary

Source/cmTarget.cxx:2874–2890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2872}
2873
2874bool cmTarget::IsRuntimeBinary() const
2875{
2876 switch (this->GetType()) {
2877 case cmStateEnums::EXECUTABLE:
2878 case cmStateEnums::SHARED_LIBRARY:
2879 case cmStateEnums::MODULE_LIBRARY:
2880 return true;
2881 case cmStateEnums::OBJECT_LIBRARY:
2882 case cmStateEnums::STATIC_LIBRARY:
2883 case cmStateEnums::UTILITY:
2884 case cmStateEnums::INTERFACE_LIBRARY:
2885 case cmStateEnums::GLOBAL_TARGET:
2886 case cmStateEnums::UNKNOWN_LIBRARY:
2887 break;
2888 }
2889 return false;
2890}
2891
2892bool cmTarget::CanCompileSources() const
2893{

Callers 1

WriteLinkStatementMethod · 0.45

Calls 1

GetTypeMethod · 0.95

Tested by

no test coverage detected