This commit is contained in:
parent
d465442f8d
commit
9f372fb608
2 changed files with 1 additions and 5 deletions
|
|
@ -169,7 +169,7 @@ namespace Crafter {
|
||||||
|
|
||||||
directoryPath.pop_back();
|
directoryPath.pop_back();
|
||||||
|
|
||||||
vsVars = std::format("\"{}\\VC\\Auxiliary\\Build\\vcvars64.bat\"", directoryPath);
|
vsVars = std::format("\"{}\\VC\\Auxiliary\\Build\\vcvars64.bat\" > nul", directoryPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -72,12 +72,8 @@ namespace Crafter {
|
||||||
target = RunCommand("clang -print-target-triple");
|
target = RunCommand("clang -print-target-triple");
|
||||||
#endif
|
#endif
|
||||||
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
||||||
std::cout << "before auto" << std::endl;
|
|
||||||
AutoDetect();
|
AutoDetect();
|
||||||
std::cout << "auto" << std::endl;
|
|
||||||
std::cout << std::format("{} && clang-cl.exe -print-target-triple", vsVars) << std::endl;
|
|
||||||
target = RunCommand(std::format("{} && clang-cl.exe -print-target-triple", vsVars));
|
target = RunCommand(std::format("{} && clang-cl.exe -print-target-triple", vsVars));
|
||||||
std::cout << target << std::endl;
|
|
||||||
#endif
|
#endif
|
||||||
target.pop_back();
|
target.pop_back();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue