| 5552 | } |
| 5553 | |
| 5554 | cmObjectLocations::UseShortPath |
| 5555 | cmGeneratorTarget::GetUseShortObjectNamesForInstall() const |
| 5556 | { |
| 5557 | auto prop = this->Target->GetProperty("INSTALL_OBJECT_NAME_STRATEGY"); |
| 5558 | if (prop == "SHORT"_s) { |
| 5559 | return cmObjectLocations::UseShortPath::Yes; |
| 5560 | } |
| 5561 | if (prop == "FULL"_s) { |
| 5562 | return cmObjectLocations::UseShortPath::No; |
| 5563 | } |
| 5564 | if (prop.IsSet()) { |
| 5565 | this->Makefile->IssueMessage( |
| 5566 | MessageType::FATAL_ERROR, |
| 5567 | cmStrCat("Property INSTALL_OBJECT_NAME_STRATEGY of target \"", |
| 5568 | this->GetName(), "\" set to the unsupported strategy ", prop)); |
| 5569 | } |
| 5570 | return cmObjectLocations::UseShortPath::No; |
| 5571 | } |
| 5572 | |
| 5573 | std::string cmGeneratorTarget::GetSupportDirectory( |
| 5574 | cmStateEnums::IntermediateDirKind kind) const |
no test coverage detected