Skip to content

Commit

Permalink
Reference native csproj instead of including native content.
Browse files Browse the repository at this point in the history
  • Loading branch information
BeanCheeseBurrito committed Aug 26, 2023
1 parent 26cbefb commit 2c79152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Flecs.NET.Native/Flecs.NET.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</ItemGroup>

<ItemGroup>
<Content Include="../../docs/icon.png" PackagePath="icon.png"/>
<Content Include="../../docs/icon.png" PackagePath="icon.png" />
</ItemGroup>

<ItemGroup>
Expand Down
21 changes: 2 additions & 19 deletions src/Flecs.NET/Flecs.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>3.2.6-build.1</Version>
<Version>3.2.6-build.2</Version>
<Title Condition="'$(Configuration)' == 'Debug'">Flecs.NET.Debug</Title>
<Title Condition="'$(Configuration)' == 'Release'">Flecs.NET.Release</Title>
<Authors>BeanCheeseBurrito</Authors>
Expand All @@ -43,28 +43,11 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0"/>
<ProjectReference Include="..\Flecs.NET.Bindings\Flecs.NET.Bindings.csproj"/>
<ProjectReference Include="..\Flecs.NET.Native\Flecs.NET.Native.csproj"/>
</ItemGroup>

<ItemGroup>
<Content Include="../../docs/icon.png" PackagePath="icon.png"/>
</ItemGroup>

<ItemGroup>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/linux-x64/libflecs.so" PackagePath="runtimes/linux-x64/native/libflecs.so"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/linux-arm64/libflecs.so" PackagePath="runtimes/linux-arm64/native/libflecs.so"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/osx-x64/libflecs.dylib" PackagePath="runtimes/osx-x64/native/libflecs.dylib"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/osx-arm64/libflecs.dylib" PackagePath="runtimes/osx-arm64/native/libflecs.dylib"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/win-x64/libflecs.dll" PackagePath="runtimes/win-x64/native/libflecs.dll"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/win-x64/libflecs.pdb" PackagePath="runtimes/win-x64/native/libflecs.pdb"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/win-arm64/libflecs.dll" PackagePath="runtimes/win-arm64/native/libflecs.dll"/>
<Content Condition="'$(Configuration)' == 'Debug'" Include="../Flecs.NET.Native/debug/win-arm64/libflecs.pdb" PackagePath="runtimes/win-arm64/native/libflecs.pdb"/>

<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/linux-x64/libflecs.so" PackagePath="runtimes/linux-x64/native/libflecs.so"/>
<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/linux-arm64/libflecs.so" PackagePath="runtimes/linux-arm64/native/libflecs.so"/>
<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/osx-x64/libflecs.dylib" PackagePath="runtimes/osx-x64/native/libflecs.dylib"/>
<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/osx-arm64/libflecs.dylib" PackagePath="runtimes/osx-arm64/native/libflecs.dylib"/>
<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/win-x64/libflecs.dll" PackagePath="runtimes/win-x64/native/libflecs.dll"/>
<Content Condition="'$(Configuration)' == 'Release'" Include="../Flecs.NET.Native/release/win-arm64/libflecs.dll" PackagePath="runtimes/win-arm64/native/libflecs.dll"/>
</ItemGroup>

</Project>

0 comments on commit 2c79152

Please sign in to comment.