| 2890 | } |
| 2891 | |
| 2892 | bool cmGlobalGenerator::CheckReservedTargetName( |
| 2893 | std::string const& targetName, std::string const& reason) const |
| 2894 | { |
| 2895 | cmTarget* tgt = this->FindTarget(targetName); |
| 2896 | if (!tgt) { |
| 2897 | return true; |
| 2898 | } |
| 2899 | IssueReservedTargetNameError(this->GetCMakeInstance(), tgt, targetName, |
| 2900 | reason); |
| 2901 | return false; |
| 2902 | } |
| 2903 | |
| 2904 | bool cmGlobalGenerator::CheckReservedTargetNamePrefix( |
| 2905 | std::string const& targetPrefix, std::string const& reason) const |
no test coverage detected