| 1716 | } |
| 1717 | |
| 1718 | void 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 | |
| 1731 | void cmTarget::CopyImportedCxxModulesEntries(cmTarget const* tgt) |
| 1732 | { |
no test coverage detected