diff options
| author | Joel Stålnacke <joel@saker.fi> | 2026-03-19 22:30:56 +0200 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2026-03-19 22:30:56 +0200 |
| commit | 745406dc65aecc438a53f96badc387a32b7a338f (patch) | |
| tree | cc597855dac943efe627fce160782585e27feadf /Djup.Native/src/Djup.Native.csproj | |
| parent | 3b60cd682120947119f442bb71ab2a5e98decccc (diff) | |
Add Mibo project
The Djup project is DesktopGL project
Diffstat (limited to 'Djup.Native/src/Djup.Native.csproj')
| -rw-r--r-- | Djup.Native/src/Djup.Native.csproj | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Djup.Native/src/Djup.Native.csproj b/Djup.Native/src/Djup.Native.csproj new file mode 100644 index 0000000..a581a58 --- /dev/null +++ b/Djup.Native/src/Djup.Native.csproj @@ -0,0 +1,40 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net10.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> + </PropertyGroup> + + <PropertyGroup> + <BuildDir>$(MSBuildThisFileDirectory)../../lib/build</BuildDir> + </PropertyGroup> + + <ItemGroup Condition=" '$(Configuration)'=='Release' "> + <Content Include="$(BuildDir)/linux-x64/libdjup.so"> + <TargetPath>runtimes/linux-x64/native/libdjup.so</TargetPath> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + <PackagePath>runtimes/linux-x64/native/</PackagePath> + <Pack>true</Pack> + </Content> + </ItemGroup> + + <Choose> + <When Condition=" '$(Configuration)'=='Debug'"> + <PropertyGroup> + <Arch>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</Arch> + <IsLinux Condition="$([MSBuild]::IsOsPlatform('Linux'))">true</IsLinux> + </PropertyGroup> + + <ItemGroup Condition=" $(IsLinux) And '$(Arch)' == X64 "> + <Content Include="$(BuildDir)/linux-x64/libdjup.so"> + <TargetPath>runtimes/linux-x64/native/libdjup.so</TargetPath> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + </When> + </Choose> + +</Project> |
