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

Method CopyPolicyStatuses

Source/cmTarget.cxx:1718–1729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716}
1717
1718void cmTarget::CopyPolicyStatuses(cmTarget const* tgt)
1719{
1720 // Normal targets cannot be the target of a copy.
1721 assert(!this->IsNormal());
1722 // Imported targets cannot be the target of a copy.
1723 assert(!this->IsImported());
1724 // Only imported targets can be the source of a copy.
1725 assert(tgt->IsImported());
1726
1727 this->impl->PolicyMap = tgt->impl->PolicyMap;
1728 this->impl->TemplateTarget = tgt;
1729}
1730
1731void cmTarget::CopyImportedCxxModulesEntries(cmTarget const* tgt)
1732{

Callers 1

Calls 2

IsNormalMethod · 0.95
IsImportedMethod · 0.45

Tested by

no test coverage detected