| 225 | } |
| 226 | |
| 227 | std::string cmCTestBuildHandler::GetMakeCommand() |
| 228 | { |
| 229 | std::string makeCommand = this->CTest->GetCTestConfiguration("MakeCommand"); |
| 230 | cmCTestOptionalLog(this->CTest, HANDLER_VERBOSE_OUTPUT, |
| 231 | "MakeCommand:" << makeCommand << "\n", this->Quiet); |
| 232 | |
| 233 | std::string configType = this->CTest->GetConfigType(); |
| 234 | if (configType.empty()) { |
| 235 | configType = |
| 236 | this->CTest->GetCTestConfiguration("DefaultCTestConfigurationType"); |
| 237 | } |
| 238 | if (configType.empty()) { |
| 239 | configType = "Release"; |
| 240 | } |
| 241 | |
| 242 | cmSystemTools::ReplaceString(makeCommand, "${CTEST_CONFIGURATION_TYPE}", |
| 243 | configType.c_str()); |
| 244 | |
| 245 | return makeCommand; |
| 246 | } |
| 247 | |
| 248 | // clearly it would be nice if this were broken up into a few smaller |
| 249 | // functions and commented... |
no test coverage detected