| 1044 | } |
| 1045 | |
| 1046 | std::string cmGlobalVisualStudioVersionedGenerator::FindDevEnvCommand() |
| 1047 | { |
| 1048 | std::string devenv; |
| 1049 | |
| 1050 | // Ask Visual Studio Installer tool. |
| 1051 | std::string vs; |
| 1052 | if (vsSetupAPIHelper.GetVSInstanceInfo(vs)) { |
| 1053 | devenv = cmStrCat(vs, "/Common7/IDE/devenv.com"); |
| 1054 | if (cmSystemTools::FileExists(devenv)) { |
| 1055 | return devenv; |
| 1056 | } |
| 1057 | } |
| 1058 | |
| 1059 | devenv = "devenv.com"; |
| 1060 | return devenv; |
| 1061 | } |
nothing calls this directly
no test coverage detected