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:38:50 +01:00
commit 79818f1375

View file

@ -72,8 +72,12 @@ 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();
} }