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

Method Open

Source/cmGlobalVisualStudioGenerator.cxx:763–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763bool cmGlobalVisualStudioGenerator::Open(std::string const& bindir,
764 std::string const& projectName,
765 bool dryRun)
766{
767 std::string sln = this->GetSLNFile(bindir, projectName);
768
769 if (dryRun) {
770 return cmSystemTools::FileExists(sln, true);
771 }
772
773 sln = cmSystemTools::ConvertToOutputPath(sln);
774
775 return std::async(std::launch::async, OpenSolution, sln).get();
776}
777
778cm::string_view cmGlobalVisualStudioGenerator::ExternalProjectTypeId(
779 std::string const& path)

Callers

nothing calls this directly

Calls 3

GetSLNFileMethod · 0.95
FileExistsFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected