MCPcopy Create free account
hub / github.com/Kitware/CMake / PrintCompilerAdvice

Method PrintCompilerAdvice

Source/cmGlobalGenerator.cxx:995–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995void cmGlobalGenerator::PrintCompilerAdvice(std::ostream& os,
996 std::string const& lang,
997 cmValue envVar) const
998{
999 // Subclasses override this method if they do not support this advice.
1000 os << "Tell CMake where to find the compiler by setting ";
1001 if (envVar) {
1002 os << "either the environment variable \"" << *envVar << "\" or ";
1003 }
1004 os << "the CMake cache entry CMAKE_" << lang
1005 << "_COMPILER "
1006 "to the full path to the compiler, or to the compiler name "
1007 "if it is in the PATH.";
1008}
1009
1010void cmGlobalGenerator::CheckCompilerIdCompatibility(
1011 cmMakefile* mf, std::string const& lang) const

Callers 1

EnableLanguageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected