Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: Consolidate common project settings #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 3 additions & 29 deletions BepuPhysics/BepuPhysics.csproj
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.5.0-beta.24</Version>
<Company>Bepu Entertainment LLC</Company>
<Authors>Ross Nordby</Authors>
<Description>Speedy real time physics simulation library.</Description>
<Copyright>© Bepu Entertainment LLC</Copyright>
<PackageProjectUrl>https://github.com/bepu/bepuphysics2</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/bepu/bepuphysics2</RepositoryUrl>
<PackageIcon>bepuphysicslogo256.png</PackageIcon>
<Configurations>Debug;Release;ReleaseNoProfiling</Configurations>
<LangVersion>latest</LangVersion>
<PackageTags>physics;3d;rigid body;real time;simulation</PackageTags>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DebugSymbols>true</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--<TieredCompilation>false</TieredCompilation>-->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<!-- CS1573 Parameter has no matching param tag in the XML comment for (but other parameters do) -->
<!-- CS1591 Missing XML comment for publicly visible type or member -->
<!-- CA2014 Stackalloc in loop -->
<NoWarn>1573;1591;CA2014</NoWarn>
</PropertyGroup>

<Import Project="..\CommonSettings.props" />

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<Optimize>false</Optimize>
<DefineConstants>TRACE;DEBUG;CHECKMATH;PROFILE</DefineConstants>
Expand Down Expand Up @@ -84,15 +67,6 @@
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>ContactNonconvexTypes.cs</LastGenOutput>
</None>
<None Include="..\Documentation\images\bepuphysicslogo256.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<!-- Needed for Source Link package debugging, see https://github.com/dotnet/sourcelink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

</Project>
35 changes: 3 additions & 32 deletions BepuUtilities/BepuUtilities.csproj
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>BepuUtilities</AssemblyName>
<RootNamespace>BepuUtilities</RootNamespace>
<TargetFramework>net8.0</TargetFramework>
<Version>2.5.0-beta.24</Version>
<Company>Bepu Entertainment LLC</Company>
<Authors>Ross Nordby</Authors>
<Description>Supporting utilities library for BEPUphysics v2.</Description>
<Copyright>© Bepu Entertainment LLC</Copyright>
<PackageProjectUrl>https://github.com/bepu/bepuphysics2</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/bepu/bepuphysics2</RepositoryUrl>
<PackageIcon>bepuphysicslogo256.png</PackageIcon>
<Configurations>Debug;Release</Configurations>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DebugSymbols>true</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--<TieredCompilation>false</TieredCompilation>-->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<!-- CS1573 Parameter has no matching param tag in the XML comment for (but other parameters do) -->
<!-- CS1591 Missing XML comment for publicly visible type or member -->
<NoWarn>1573;1591</NoWarn>
</PropertyGroup>

<Import Project="..\CommonSettings.props" />

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<Optimize>false</Optimize>
<DefineConstants>TRACE;DEBUG;CHECKMATH</DefineConstants>
Expand All @@ -39,17 +22,5 @@
<Optimize>true</Optimize>
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>

<ItemGroup>
<None Include="..\Documentation\images\bepuphysicslogo256.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<!-- Needed for Source Link package debugging, see https://github.com/dotnet/sourcelink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

</Project>
35 changes: 35 additions & 0 deletions CommonSettings.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.5.0-beta.24</Version>
<Company>Bepu Entertainment LLC</Company>
<Authors>Ross Nordby</Authors>
<Copyright>© Bepu Entertainment LLC</Copyright>
<PackageProjectUrl>https://github.com/bepu/bepuphysics2</PackageProjectUrl>
<RepositoryUrl>https://github.com/bepu/bepuphysics2</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<LangVersion>latest</LangVersion>
<PackageIcon>bepuphysicslogo256.png</PackageIcon>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DebugSymbols>true</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--<TieredCompilation>false</TieredCompilation>-->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<None Include="..\Documentation\images\bepuphysicslogo256.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<!-- Needed for Source Link package debugging, see https://github.com/dotnet/sourcelink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
</Project>