diff options
| author | Joel Stålnacke <joel@saker.fi> | 2024-10-11 13:31:44 +0300 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2024-10-13 13:34:46 +0300 |
| commit | 53a1cdf5bee2955995dfbf441f5354d1dcfc1e0c (patch) | |
| tree | be8c2894226a2b7e1a47f7583f2041df75f795b3 /Djup.Native/AddRuntimeTargetsToDepsJson.targets | |
| parent | 4bac6ae2e725a1997674fd3369bf4ea032235d8b (diff) | |
Add Godot client
Diffstat (limited to 'Djup.Native/AddRuntimeTargetsToDepsJson.targets')
| -rw-r--r-- | Djup.Native/AddRuntimeTargetsToDepsJson.targets | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Djup.Native/AddRuntimeTargetsToDepsJson.targets b/Djup.Native/AddRuntimeTargetsToDepsJson.targets new file mode 100644 index 0000000..fbb4c43 --- /dev/null +++ b/Djup.Native/AddRuntimeTargetsToDepsJson.targets @@ -0,0 +1,12 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <!-- + The .NET SDK does not support project-to-project dependencies + with native binary dependencies, so we need to add them manually. + Patch Project.deps.json by adding the required depencies to + Djup.Native "runtimeTargets" section. + --> + <!-- https://github.com/dotnet/sdk/issues/19929 --> + <Target Name="AddRuntimeTargetsToDepsJson" AfterTargets="AfterBuild"> + <Exec Command="$(MSBuildThisFileDirectory)patch-deps.sh '$(OutputPath)'" /> + </Target> +</Project> |
