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