Skip to content

Commit 2053413

Browse files
Pull in cimgui lib from external/ImGui.NET submodule instead of having it stored in this repo.
1 parent 4e5964b commit 2053413

7 files changed

Lines changed: 15 additions & 2 deletions

File tree

-1.59 MB
Binary file not shown.
-2.18 MB
Binary file not shown.
-2.18 MB
Binary file not shown.
-1.35 MB
Binary file not shown.
-516 KB
Binary file not shown.
-1.59 MB
Binary file not shown.

Pulsar4X/Pulsar4X.Client/Pulsar4X.Client.csproj

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,23 @@
9494
<ItemGroup>
9595
<ProjectReference Include="..\GameEngine\GameEngine.csproj" />
9696
</ItemGroup>
97+
<!-- Copy cimgui native library from ImGui.NET submodule based on host platform -->
9798
<ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
98-
<Content Include="Libs\linux-x64\cimgui.so">
99+
<Content Include="..\external\ImGui.NET\deps\cimgui\linux-x64\cimgui.so">
99100
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
100-
<Link>%(Filename)%(Extension)</Link>
101+
<Link>cimgui.so</Link>
102+
</Content>
103+
</ItemGroup>
104+
<ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' ">
105+
<Content Include="..\external\ImGui.NET\deps\cimgui\win-x64\cimgui.dll">
106+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
107+
<Link>cimgui.dll</Link>
108+
</Content>
109+
</ItemGroup>
110+
<ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
111+
<Content Include="..\external\ImGui.NET\deps\cimgui\osx\cimgui.dylib">
112+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
113+
<Link>cimgui.dylib</Link>
101114
</Content>
102115
</ItemGroup>
103116

0 commit comments

Comments
 (0)