From 3bc1eebed8f896de2f0e934653488cc1b87c2583 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 1 Mar 2026 11:51:33 +0100 Subject: [PATCH] windows build --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 215f3e5..920c939 100644 --- a/build.ps1 +++ b/build.ps1 @@ -38,7 +38,7 @@ $latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } -Descending | $vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Include") $vulkanSDKPathLib = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Lib") -clang-cl --target=x86_64-pc-windows-msvc /std:c++latest -Wno-include-angled-in-module-purview -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile .\build\std.cppm -o .\build\std.pcm +clang-cl --target=x86_64-pc-windows-msvc /std:c++latest /EHsc -Wno-include-angled-in-module-purview -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile .\build\std.cppm -o .\build\std.pcm Move-Item -Path ".\std.pcm" -Destination ".\build\std.pcm" clang-cl --target=x86_64-pc-windows-msvc /std:c++latest /EHsc /D CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc /D CRAFTER_BUILD_CONFIGURATION_TYPE_EXECUTABLE -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-CompileStatus.cppm -o .\build\Crafter.Build-CompileStatus.pcm