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

This commit is contained in:
Jorijn van der Graaf 2026-03-02 22:32:07 +01:00
commit d824f88cb5

View file

@ -265,6 +265,18 @@ namespace Crafter {
} }
} }
for (const auto& entry : fs::directory_iterator(buildDir)) {
if (entry.is_directory()) {
command += " -I" + entry.path().string() + " ";
}
}
for (const auto& entry : fs::directory_iterator(exeDir / "cloneCache")) {
if (entry.is_directory()) {
command += " -I" + entry.path().string() + " ";
}
}
if(config.target == "wasm32-wasi") { if(config.target == "wasm32-wasi") {
command += std::format(" --sysroot={} -fno-exceptions -fno-c++-static-destructors", (exeDir/"wasi-sysroot-28.0").string()); command += std::format(" --sysroot={} -fno-exceptions -fno-c++-static-destructors", (exeDir/"wasi-sysroot-28.0").string());
} }