| 1080 | |
| 1081 | template <typename ValueType> |
| 1082 | void cmCPackGenerator::StoreOption(std::string const& op, ValueType value) |
| 1083 | { |
| 1084 | if (!value) { |
| 1085 | this->MakefileMap->RemoveDefinition(op); |
| 1086 | return; |
| 1087 | } |
| 1088 | cmCPackLogger(cmCPackLog::LOG_DEBUG, |
| 1089 | this->GetNameOfClass() << "::SetOption(" << op << ", " << value |
| 1090 | << ")" << std::endl); |
| 1091 | this->MakefileMap->AddDefinition(op, value); |
| 1092 | } |
| 1093 | |
| 1094 | void cmCPackGenerator::SetOption(std::string const& op, char const* value) |
| 1095 | { |
no test coverage detected