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

Method FindDevEnvCommand

Source/cmGlobalVisualStudio8Generator.cxx:50–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50std::string cmGlobalVisualStudio8Generator::FindDevEnvCommand()
51{
52 // First look for VCExpress.
53 std::string vsxcmd;
54 std::string vsxkey =
55 cmStrCat(R"(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\)",
56 this->GetIDEVersion(), ";InstallDir");
57 if (cmSystemTools::ReadRegistryValue(vsxkey, vsxcmd,
58 cmSystemTools::KeyWOW64_32)) {
59 cmSystemTools::ConvertToUnixSlashes(vsxcmd);
60 vsxcmd += "/VCExpress.exe";
61 return vsxcmd;
62 }
63 // Now look for devenv.
64 return this->cmGlobalVisualStudio7Generator::FindDevEnvCommand();
65}
66
67void cmGlobalVisualStudio8Generator::EnableLanguage(
68 std::vector<std::string> const& lang, cmMakefile* mf, bool optional)

Callers

nothing calls this directly

Calls 2

GetIDEVersionMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected