diff options
| author | Joel Stålnacke <joel@saker.fi> | 2024-10-06 11:25:49 +0300 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2024-10-06 11:25:49 +0300 |
| commit | 11e09f477480531487cd12b5c107ac1d8352a7a5 (patch) | |
| tree | 19ce8424608fa9dd617208d8ed60da7a2a2b4287 /lib/Djup.Native/Djup.Native.csproj | |
Initial commit
Diffstat (limited to 'lib/Djup.Native/Djup.Native.csproj')
| -rw-r--r-- | lib/Djup.Native/Djup.Native.csproj | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/Djup.Native/Djup.Native.csproj b/lib/Djup.Native/Djup.Native.csproj new file mode 100644 index 0000000..7184efb --- /dev/null +++ b/lib/Djup.Native/Djup.Native.csproj @@ -0,0 +1,27 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net8.0</TargetFramework> + <!--<OutputType>exe</OutputType>--> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + </PropertyGroup> + <ItemGroup Condition=" '$(Configuration)'=='Release' "> + <None Include="$(MSBuildThisFileDirectory)../build/runtimes/linux-x64/native/libdjup.so"> + <TargetPath>runtimes/linux-x64/native/libdjup.so</TargetPath> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + <PackagePath>runtimes/linux-x64/native/</PackagePath> + <Pack>true</Pack> + </None> + </ItemGroup> + <ItemGroup Condition=" '$(Configuration)'=='Debug' "> + <Content Include="$(MSBuildThisFileDirectory)../build/**"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + </ItemGroup> + <!-- This fixes import errors (adding another library with native assets) --> + <!--<ItemGroup>--> + <!-- <PackageReference Include="SQLitePCLRaw.lib.e_sqlite3" Version="2.1.10" />--> + <!--</ItemGroup>--> +</Project> |
