windows build fixes
Some checks failed
demo.yaml / windows build fixes (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-01 17:46:16 +01:00
commit 9f372fb608
2 changed files with 1 additions and 5 deletions

View file

@ -169,7 +169,7 @@ namespace Crafter {
directoryPath.pop_back();
vsVars = std::format("\"{}\\VC\\Auxiliary\\Build\\vcvars64.bat\"", directoryPath);
vsVars = std::format("\"{}\\VC\\Auxiliary\\Build\\vcvars64.bat\" > nul", directoryPath);
}
#else

View file

@ -72,12 +72,8 @@ namespace Crafter {
target = RunCommand("clang -print-target-triple");
#endif
#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();
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));
std::cout << target << std::endl;
#endif
target.pop_back();
}