RustCSharpInterop/FfiChannels/FfiChannels.csproj

22 lines
891 B
XML
Raw Permalink Normal View History

2023-10-17 17:00:03 +00:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<NativeOutputPath>../target/debug</NativeOutputPath>
<LibraryName>ffi_channels</LibraryName>
</PropertyGroup>
<ItemGroup>
<None Condition="$([MSBuild]::IsOsPlatform('MacOS'))" Include="$(NativeOutputPath)/lib$(LibraryName).dylib" CopyToOutputDirectory="PreserveNewest" />
<None Condition="$([MSBuild]::IsOsPlatform('Linux'))" Include="$(NativeOutputPath)/lib$(LibraryName).so" CopyToOutputDirectory="PreserveNewest" />
<None Condition="$([MSBuild]::IsOsPlatform('Windows'))" Include="$(NativeOutputPath)/$(LibraryName).dll" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>