Skip to content

Commit 7385876

Browse files
committed
rl_ball_sym_dll v0.1.9 (add macos binaries)
1 parent 84d5824 commit 7385876

File tree

9 files changed

+26
-8
lines changed

9 files changed

+26
-8
lines changed

RLBotCS/RLBotCS.csproj

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,28 @@
3838
<DirectPInvoke Include="rl_ball_sym" />
3939

4040
<!-- Statically linked for publishing -->
41-
<NativeLibrary Include=".\lib\rl_ball_sym\rl_ball_sym.lib" Condition="'$(OS)' == 'Windows_NT'" />
42-
<NativeLibrary Include="./lib/rl_ball_sym/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" />
41+
<NativeLibrary Include=".\lib\rl_ball_sym\win-x86_64\rl_ball_sym.lib" Condition="'$(OS)' == 'Windows_NT'" />
42+
<NativeLibrary Include="./lib/rl_ball_sym/linux-x86_64/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" />
43+
<NativeLibrary Include="./lib/rl_ball_sym/mac-aarch64/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))'" />
4344

4445
<!-- Dynamically linked for development -->
45-
<ContentWithTargetPath Include=".\lib\rl_ball_sym\rl_ball_sym.dll" Condition="'$(OS)' == 'Windows_NT'">
46+
<ContentWithTargetPath Include=".\lib\rl_ball_sym\win-x86_64\rl_ball_sym.dll" Condition="'$(OS)' == 'Windows_NT'">
4647
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
4748
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4849
<TargetPath>rl_ball_sym.dll</TargetPath>
4950
</ContentWithTargetPath>
5051

51-
<ContentWithTargetPath Include="./lib/rl_ball_sym/librl_ball_sym.so" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
52+
<ContentWithTargetPath Include="./lib/rl_ball_sym/linux-x86_64/librl_ball_sym.so" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
5253
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
5354
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5455
<TargetPath>rl_ball_sym.so</TargetPath>
5556
</ContentWithTargetPath>
57+
58+
<ContentWithTargetPath Include="./lib/rl_ball_sym/mac-aarch64/librl_ball_sym.dylib" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))'">
59+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
60+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
61+
<TargetPath>rl_ball_sym.dylib</TargetPath>
62+
</ContentWithTargetPath>
5663
</ItemGroup>
5764

5865
<Target Name="GenerateFlatBuffersWindows" BeforeTargets="PreBuildEvent" Condition=" '$(OS)' == 'Windows_NT' ">
544 KB
Binary file not shown.
277 KB
Binary file not shown.
-802 KB
Binary file not shown.
805 KB
Binary file not shown.

RLBotCSTests/RLBotCSTests.csproj

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,31 @@
2828
<DirectPInvoke Include="rl_ball_sym" />
2929

3030
<!-- Statically linked for publishing -->
31-
<NativeLibrary Include="..\RLBotCS\lib\rl_ball_sym\rl_ball_sym.lib" Condition="'$(OS)' == 'Windows_NT'" />
32-
<NativeLibrary Include="../RLBotCS/lib/rl_ball_sym/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" />
31+
<NativeLibrary Include="..\RLBotCS\lib\rl_ball_sym\win-x86_64\rl_ball_sym.lib" Condition="'$(OS)' == 'Windows_NT'" />
32+
<NativeLibrary Include="../RLBotCS/lib/rl_ball_sym/linux-x86_64/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" />
33+
<NativeLibrary Include="../RLBotCS/lib/rl_ball_sym/mac-aarch64/librl_ball_sym.a" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))'" />
3334

3435
<!-- Dynamically linked for development -->
35-
<ContentWithTargetPath Include="..\RLBotCS\lib\rl_ball_sym\rl_ball_sym.dll" Condition="'$(OS)' == 'Windows_NT'">
36+
<ContentWithTargetPath Include="..\RLBotCS\lib\rl_ball_sym\win-x86_64\rl_ball_sym.dll" Condition="'$(OS)' == 'Windows_NT'">
37+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
3638
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3739
<TargetPath>rl_ball_sym.dll</TargetPath>
3840
</ContentWithTargetPath>
3941

40-
<ContentWithTargetPath Include="../RLBotCS/lib/rl_ball_sym/librl_ball_sym.so" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
42+
<ContentWithTargetPath Include="../RLBotCS/lib/rl_ball_sym/linux-x86_64/librl_ball_sym.so" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
43+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
4144
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4245
<TargetPath>rl_ball_sym.so</TargetPath>
4346
</ContentWithTargetPath>
4447

48+
<ContentWithTargetPath Include="../RLBotCS/lib/rl_ball_sym/mac-aarch64/librl_ball_sym.dylib" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))'">
49+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
50+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
51+
<TargetPath>rl_ball_sym.dylib</TargetPath>
52+
</ContentWithTargetPath>
53+
</ItemGroup>
54+
55+
<ItemGroup>
4556
<Content Include="TestTomls\*">
4657
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4758
</Content>

0 commit comments

Comments
 (0)