|
38 | 38 | <EmccEnvironment>web,worker</EmccEnvironment> |
39 | 39 |
|
40 | 40 | <WasmCachePath>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\cache\</WasmCachePath> |
| 41 | + |
| 42 | + <__CelesteWasmEmscriptenSdkToolsPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\</__CelesteWasmEmscriptenSdkToolsPath> |
| 43 | + <__CelesteWasmEmscriptenUpstreamBinPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\bin\</__CelesteWasmEmscriptenUpstreamBinPath> |
| 44 | + <__CelesteWasmEmscriptenUpstreamEmscriptenPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\</__CelesteWasmEmscriptenUpstreamEmscriptenPath> |
| 45 | + <__CelesteWasmEmscriptenNodeToolsPath>$(MSBuildProjectDirectory)\..\emsdk\node\22.16.0_64bit\bin\node</__CelesteWasmEmscriptenNodeToolsPath> |
| 46 | + <__CelesteWasmWasmClang>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\emcc</__CelesteWasmWasmClang> |
41 | 47 | </PropertyGroup> |
42 | 48 |
|
43 | 49 | <ItemGroup> |
|
110 | 116 | <!-- do not touch unless you like debugging --> |
111 | 117 | <Target Name="ChangeClang" DependsOnTargets="_InitializeCommonProperties" BeforeTargets="_SetupEmscripten"> |
112 | 118 | <PropertyGroup> |
113 | | - <EmscriptenSdkToolsPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\</EmscriptenSdkToolsPath> |
114 | | - <EmscriptenUpstreamBinPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\bin\</EmscriptenUpstreamBinPath> |
115 | | - <EmscriptenUpstreamEmscriptenPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\</EmscriptenUpstreamEmscriptenPath> |
116 | | - <EmscriptenNodeToolsPath>$(MSBuildProjectDirectory)\..\emsdk\node\22.16.0_64bit\bin\node</EmscriptenNodeToolsPath> |
117 | | - <WasmClang>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\emcc</WasmClang> |
| 119 | + <EmscriptenSdkToolsPath>$(__CelesteWasmEmscriptenSdkToolsPath)</EmscriptenSdkToolsPath> |
| 120 | + <EmscriptenUpstreamBinPath>$(__CelesteWasmEmscriptenUpstreamBinPath)</EmscriptenUpstreamBinPath> |
| 121 | + <EmscriptenUpstreamEmscriptenPath>$(__CelesteWasmEmscriptenUpstreamEmscriptenPath)</EmscriptenUpstreamEmscriptenPath> |
| 122 | + <EmscriptenNodeToolsPath>$(__CelesteWasmEmscriptenNodeToolsPath)</EmscriptenNodeToolsPath> |
| 123 | + <WasmClang>$(__CelesteWasmWasmClang)</WasmClang> |
118 | 124 | </PropertyGroup> |
119 | 125 | <ItemGroup> |
120 | 126 | <EmscriptenPrependPATH Remove="/usr/share/dotnet/packs/*" /> |
|
127 | 133 |
|
128 | 134 | <Target Name="ChangeClang2" DependsOnTargets="_GenerateManagedToNative" BeforeTargets="_WasmCompileNativeSourceFiles"> |
129 | 135 | <PropertyGroup> |
130 | | - <EmscriptenSdkToolsPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\</EmscriptenSdkToolsPath> |
131 | | - <EmscriptenUpstreamBinPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\bin\</EmscriptenUpstreamBinPath> |
132 | | - <EmscriptenUpstreamEmscriptenPath>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\</EmscriptenUpstreamEmscriptenPath> |
133 | | - <EmscriptenNodeToolsPath>$(MSBuildProjectDirectory)\..\emsdk\node\20.18.0_64bit\bin\node</EmscriptenNodeToolsPath> |
134 | | - <WasmClang>$(MSBuildProjectDirectory)\..\emsdk\upstream\emscripten\emcc</WasmClang> |
| 136 | + <EmscriptenSdkToolsPath>$(__CelesteWasmEmscriptenSdkToolsPath)</EmscriptenSdkToolsPath> |
| 137 | + <EmscriptenUpstreamBinPath>$(__CelesteWasmEmscriptenUpstreamBinPath)</EmscriptenUpstreamBinPath> |
| 138 | + <EmscriptenUpstreamEmscriptenPath>$(__CelesteWasmEmscriptenUpstreamEmscriptenPath)</EmscriptenUpstreamEmscriptenPath> |
| 139 | + <EmscriptenNodeToolsPath>$(__CelesteWasmEmscriptenNodeToolsPath)</EmscriptenNodeToolsPath> |
| 140 | + <WasmClang>$(__CelesteWasmWasmClang)</WasmClang> |
135 | 141 | </PropertyGroup> |
136 | 142 | <ItemGroup> |
137 | 143 | <EmscriptenPrependPATH Remove="/usr/share/dotnet/packs/*" /> |
|
0 commit comments