RustCSharpInterop/FfiChannels/FfiChannels.csproj
2023-10-17 19:00:03 +02:00

22 lines
891 B
XML

<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>