|
94 | 94 | </PropertyGroup>
|
95 | 95 | </Target>
|
96 | 96 |
|
97 |
| - <Target Name="_WasiBuildNativeCore" DependsOnTargets="$(_WasiBuildNativeCoreDependsOn)" Condition="'$(WasmBuildNative)' == 'true'" /> |
| 97 | + <Target Name="_WasiBuildNativeCore" BeforeTargets="_WasiGenerateAppBundle" DependsOnTargets="$(_WasiBuildNativeCoreDependsOn)" Condition="'$(WasmBuildNative)' == 'true'" /> |
98 | 98 |
|
99 | 99 | <Target Name="_PrepareForWasiBuildNative">
|
100 | 100 | <Error Condition="'$(_IsToolchainMissing)' == 'true'"
|
|
446 | 446 | <_WasiFilePathForFixup Include="@(_WasmNativeFileForLinking)" />
|
447 | 447 | <_WasiFilePathForFixup Include="@(_WasmRuntimePackSrcFile)" />
|
448 | 448 |
|
449 |
| - <_WasiSdkClangArgs Condition="'$(OS)' == 'Windows_NT'" Include="$([System.String]::new(%(_WasiFilePathForFixup.Identity)).Replace('\', '/'))" /> |
450 |
| - <_WasiSdkClangArgs Condition="'$(OS)' != 'Windows_NT'" Include="@(_WasiFilePathForFixup)" /> |
| 449 | + <_WasiSdkClangArgs Condition="'$(OS)' == 'Windows_NT'" Include=""$([System.String]::new(%(_WasiFilePathForFixup.Identity)).Replace('\', '/'))"" /> |
| 450 | + <_WasiSdkClangArgs Condition="'$(OS)' != 'Windows_NT'" Include="@(_WasiFilePathForFixup -> '"%(Identity)"')" /> |
451 | 451 |
|
452 | 452 | <_WasiSdkClangArgs Include="@(_WasmCommonCFlags)" />
|
453 | 453 |
|
|
470 | 470 |
|
471 | 471 | <WriteLinesToFile Lines="@(_WasiSdkClangArgs)" File="$(_WasmIntermediateOutputPath)clang-compile.rsp" Overwrite="true" />
|
472 | 472 | <!--<Message Importance="High" Text="Performing WASI SDK build: "$(WasiClang)" @(_WasiSdkClangArgs, ' ')" />-->
|
473 |
| - <Message Importance="High" Text="Performing WASI SDK build: "$(WasiClang)" @$(_WasmIntermediateOutputPath)clang-compile.rsp" /> |
| 473 | + <Message Importance="High" Text="Performing WASI SDK build: "$(WasiClang)" "@$(_WasmIntermediateOutputPath)clang-compile.rsp"" /> |
474 | 474 | <!--<Exec Command=""$(WasiClang)" @(_WasiSdkClangArgs, ' ')" />-->
|
475 |
| - <Exec Command=""$(WasiClang)" @$(_WasmIntermediateOutputPath)clang-compile.rsp" /> |
| 475 | + <Exec Command=""$(WasiClang)" "@$(_WasmIntermediateOutputPath)clang-compile.rsp"" /> |
476 | 476 |
|
477 | 477 | <!-- FIXME: this will be done by the bundler -->
|
478 | 478 | <Copy SourceFiles="$(_WasmOutputFileName)" DestinationFolder="$(WasmAppDir)" />
|
|
0 commit comments