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

Method FindMSBuildCommandEarly

Source/cmGlobalVisualStudioVersionedGenerator.cxx:993–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993cm::optional<std::string>
994cmGlobalVisualStudioVersionedGenerator::FindMSBuildCommandEarly(cmMakefile* mf)
995{
996 std::string instance = mf->GetSafeDefinition("CMAKE_GENERATOR_INSTANCE");
997 if (!this->SetGeneratorInstance(instance, mf)) {
998 cmSystemTools::SetFatalErrorOccurred();
999 return {};
1000 }
1001 return this->cmGlobalVisualStudio14Generator::FindMSBuildCommandEarly(mf);
1002}
1003
1004std::string cmGlobalVisualStudioVersionedGenerator::FindMSBuildCommand()
1005{

Callers

nothing calls this directly

Calls 1

SetGeneratorInstanceMethod · 0.95

Tested by

no test coverage detected