Skip to content

Commit

Permalink
[Java.Interop] Place JniEnvironment.g.cs in `$(IntermediateOutputPa…
Browse files Browse the repository at this point in the history
…th)` to support parallel builds. (#1023)
  • Loading branch information
jpobst committed Aug 2, 2022
1 parent 4e0605f commit a5756ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Java.Interop/Java.Interop.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<Target Name="BuildJniEnvironment_g_cs"
BeforeTargets="BeforeCompile"
Inputs="$(_JNIEnvGenPath)"
Outputs="Java.Interop/JniEnvironment.g.cs;$(IntermediateOutputPath)jni.c">
Outputs="$(IntermediateOutputPath)JniEnvironment.g.cs;$(IntermediateOutputPath)jni.c">
<MakeDir Directories="$(IntermediateOutputPath)" />
<Exec
Command="$(_RunJNIEnvGen) Java.Interop/JniEnvironment.g.cs $(IntermediateOutputPath)jni.c"
Command="$(_RunJNIEnvGen) $(IntermediateOutputPath)JniEnvironment.g.cs $(IntermediateOutputPath)jni.c"
/>
<ItemGroup>
<Compile Include="$([System.IO.Path]::Combine('Java.Interop','JniEnvironment.g.cs'))" KeepDuplicates="false" />
<Compile Include="$(IntermediateOutputPath)JniEnvironment.g.cs" KeepDuplicates="false" />
</ItemGroup>
</Target>
<Target Name="BuildInteropJar"
Expand Down

0 comments on commit a5756ca

Please sign in to comment.