-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSharpBlazorWebGPUExample.csproj
More file actions
25 lines (23 loc) · 1.12 KB
/
CSharpBlazorWebGPUExample.csproj
File metadata and controls
25 lines (23 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<!-- <WasmEnableExceptionHandling>true</WasmEnableExceptionHandling> -->
<!-- <WasmEnableThreads>true</WasmEnableThreads> -->
<!-- <WasmEnableSIMD>true</WasmEnableSIMD> -->
<!-- <RunAOTCompilation>true</RunAOTCompilation> -->
<!-- <WasmAllowUndefinedSymbols>true</WasmAllowUndefinedSymbols> -->
<WasmBuildNative>true</WasmBuildNative>
<WasmEnableThreads>false</WasmEnableThreads>
<EmccExtraLDFlags>-s USE_WEBGPU=1 -s NO_EXIT_RUNTIME=1 --js-library '.\lib\lib_webgpu.js'</EmccExtraLDFlags>
</PropertyGroup>
<ItemGroup>
<NativeFileReference Include="lib\lib_webgpu_cpp20.cpp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0-preview.3.24172.13" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0-preview.3.24172.13" PrivateAssets="all" />
</ItemGroup>
</Project>