mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-24 20:48:03 +03:00
Platform specific dlls
This commit is contained in:
parent
0300b46ed3
commit
040291ed22
10
Facepunch.Steamworks/Facepunch.Steamworks .Posix64.csproj
Normal file
10
Facepunch.Steamworks/Facepunch.Steamworks .Posix64.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project=".\Facepunch.Steamworks.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Facepunch.Steamworks.Posix64</AssemblyName>
|
||||
<DefineConstants>PLATFORM_POSIX64;PLATFORM_POSIX</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
16
Facepunch.Steamworks/Facepunch.Steamworks .Win32.csproj
Normal file
16
Facepunch.Steamworks/Facepunch.Steamworks .Win32.csproj
Normal file
@ -0,0 +1,16 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project=".\Facepunch.Steamworks.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Facepunch.Steamworks.Win32</AssemblyName>
|
||||
<DefineConstants>PLATFORM_WIN32;PLATFORM_WIN</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="steam_api.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
35
Facepunch.Steamworks/Facepunch.Steamworks .Win64.csproj
Normal file
35
Facepunch.Steamworks/Facepunch.Steamworks .Win64.csproj
Normal file
@ -0,0 +1,35 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project=".\Facepunch.Steamworks.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Facepunch.Steamworks.Win64</AssemblyName>
|
||||
<DefineConstants>PLATFORM_WIN64;PLATFORM_WIN</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="steam_api64.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net40'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client</FrameworkPathOverride>
|
||||
<Authors>Garry Newman</Authors>
|
||||
<PackageId>Facepunch.Steamworks</PackageId>
|
||||
<PackageDescription>Another fucking c# Steamworks implementation</PackageDescription>
|
||||
<PackageProjectUrl>https://github.com/Facepunch/Facepunch.Steamworks</PackageProjectUrl>
|
||||
<PackageIconUrl>https://files.facepunch.com/garry/c5edce1c-0c21-4c5d-95b6-37743be7455d.jpg</PackageIconUrl>
|
||||
<PackageTags>facepunch;steam;unity;steamworks;valve</PackageTags>
|
||||
<PackageVersion>2.1.0</PackageVersion>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<RepositoryUrl>https://github.com/Facepunch/Facepunch.Steamworks.git</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
|
||||
<Exec Command="copy $(TargetDir)\Facepunch.Steamworks.Win64.dll C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks

copy $(TargetDir)\Facepunch.Steamworks.Win64.dll C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\GitHub\SteamworksUnityTests\Assets\Steamworks" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
39
Facepunch.Steamworks/Facepunch.Steamworks.props
Normal file
39
Facepunch.Steamworks/Facepunch.Steamworks.props
Normal file
@ -0,0 +1,39 @@
|
||||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<LangVersion>7.1</LangVersion>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<NoWarn>1701;1702;1705;618;1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;RELEASE</DefineConstants>
|
||||
<NoWarn>1701;1702;1705;618;1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<DefineConstants>$(DefineConstants);NET_CORE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="*AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Generated\Interfaces\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user