| 3558 | } |
| 3559 | |
| 3560 | std::string cmGeneratorTarget::NormalGetFullPath( |
| 3561 | std::string const& config, cmStateEnums::ArtifactType artifact, |
| 3562 | bool realname) const |
| 3563 | { |
| 3564 | std::string fpath = cmStrCat(this->GetDirectory(config, artifact), '/'); |
| 3565 | if (this->IsAppBundleOnApple()) { |
| 3566 | fpath = |
| 3567 | cmStrCat(this->BuildBundleDirectory(fpath, config, FullLevel), '/'); |
| 3568 | } |
| 3569 | |
| 3570 | // Add the full name of the target. |
| 3571 | switch (artifact) { |
| 3572 | case cmStateEnums::RuntimeBinaryArtifact: |
| 3573 | if (realname) { |
| 3574 | fpath += this->NormalGetRealName(config); |
| 3575 | } else { |
| 3576 | fpath += |
| 3577 | this->GetFullName(config, cmStateEnums::RuntimeBinaryArtifact); |
| 3578 | } |
| 3579 | break; |
| 3580 | case cmStateEnums::ImportLibraryArtifact: |
| 3581 | if (realname) { |
| 3582 | fpath += |
| 3583 | this->NormalGetRealName(config, cmStateEnums::ImportLibraryArtifact); |
| 3584 | } else { |
| 3585 | fpath += |
| 3586 | this->GetFullName(config, cmStateEnums::ImportLibraryArtifact); |
| 3587 | } |
| 3588 | break; |
| 3589 | } |
| 3590 | return fpath; |
| 3591 | } |
| 3592 | |
| 3593 | std::string cmGeneratorTarget::NormalGetRealName( |
| 3594 | std::string const& config, cmStateEnums::ArtifactType artifact) const |
no test coverage detected