| 41 | } |
| 42 | |
| 43 | void cmGlobalMSYSMakefileGenerator::EnableLanguage( |
| 44 | std::vector<std::string> const& l, cmMakefile* mf, bool optional) |
| 45 | { |
| 46 | mf->AddDefinition("MSYS", "1"); |
| 47 | this->cmGlobalUnixMakefileGenerator3::EnableLanguage(l, mf, optional); |
| 48 | |
| 49 | if (!mf->IsSet("CMAKE_AR") && !this->CMakeInstance->GetIsInTryCompile() && |
| 50 | !(1 == l.size() && l[0] == "NONE"_s)) { |
| 51 | cmSystemTools::Error( |
| 52 | "CMAKE_AR was not found, please set to archive program. " + |
| 53 | mf->GetSafeDefinition("CMAKE_AR")); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | cmDocumentationEntry cmGlobalMSYSMakefileGenerator::GetDocumentation() |
| 58 | { |
nothing calls this directly
no test coverage detected