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

Method IsLinkable

Source/cmGeneratorTarget.cxx:5612–5621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5610}
5611
5612bool cmGeneratorTarget::IsLinkable() const
5613{
5614 return (this->GetType() == cmStateEnums::STATIC_LIBRARY ||
5615 this->GetType() == cmStateEnums::SHARED_LIBRARY ||
5616 this->GetType() == cmStateEnums::MODULE_LIBRARY ||
5617 this->GetType() == cmStateEnums::UNKNOWN_LIBRARY ||
5618 this->GetType() == cmStateEnums::OBJECT_LIBRARY ||
5619 this->GetType() == cmStateEnums::INTERFACE_LIBRARY ||
5620 this->IsExecutableWithExports());
5621}
5622
5623bool cmGeneratorTarget::HasLinkDependencyFile(std::string const& config) const
5624{

Callers 14

CreateMethod · 0.80
CreateMethod · 0.80
CreateMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80

Calls 2

GetTypeMethod · 0.95

Tested by

no test coverage detected