This commit is contained in:
parent
1091890bf2
commit
509103ed71
1 changed files with 11 additions and 3 deletions
|
|
@ -129,10 +129,14 @@ namespace Crafter {
|
||||||
std::string stdPcm = std::format("{}\\{}\\std.pcm", exeDir.string(), config.target);
|
std::string stdPcm = std::format("{}\\{}\\std.pcm", exeDir.string(), config.target);
|
||||||
std::string stdcppm = std::format("{}\\{}\\std.cppm", exeDir.string(), config.target);
|
std::string stdcppm = std::format("{}\\{}\\std.cppm", exeDir.string(), config.target);
|
||||||
|
|
||||||
std::cout << stdPcm << std::endl;
|
std::cout << stdPcm << std::endl;
|
||||||
std::cout << stdcppm << std::endl;
|
std::cout << stdcppm << std::endl;
|
||||||
|
|
||||||
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") + "\\VC\\Tools";
|
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") +;
|
||||||
|
|
||||||
|
directoryPath.pop_back();
|
||||||
|
|
||||||
|
directoryPath += "\\VC\\Tools";
|
||||||
|
|
||||||
std::cout << directoryPath << std::endl;
|
std::cout << directoryPath << std::endl;
|
||||||
|
|
||||||
|
|
@ -176,7 +180,11 @@ namespace Crafter {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoDetect() {
|
void AutoDetect() {
|
||||||
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") + "\\VC\\Tools";
|
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") +;
|
||||||
|
|
||||||
|
directoryPath.pop_back();
|
||||||
|
|
||||||
|
directoryPath += "\\VC\\Tools";
|
||||||
|
|
||||||
std::cout << directoryPath << std::endl;
|
std::cout << directoryPath << std::endl;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue