| 268 | cmCPackArchiveGenerator::~cmCPackArchiveGenerator() = default; |
| 269 | |
| 270 | std::string cmCPackArchiveGenerator::GetArchiveFileName() |
| 271 | { |
| 272 | std::string packageFileName = this->toplevel + "/"; |
| 273 | if (cmValue v = this->GetOptionIfSet("CPACK_ARCHIVE_FILE_NAME")) { |
| 274 | packageFileName += *v; |
| 275 | } else { |
| 276 | v = this->GetOption("CPACK_PACKAGE_FILE_NAME"); |
| 277 | packageFileName += *v; |
| 278 | } |
| 279 | packageFileName += this->GetOutputExtension(); |
| 280 | return packageFileName; |
| 281 | } |
| 282 | |
| 283 | std::string cmCPackArchiveGenerator::GetArchiveComponentFileName( |
| 284 | std::string const& component, bool isGroupName) |
no test coverage detected