-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCoplt.Graphics.Core.csproj
More file actions
38 lines (33 loc) · 1.69 KB
/
Coplt.Graphics.Core.csproj
File metadata and controls
38 lines (33 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>CS8500</NoWarn>
<IsAotCompatible>true</IsAotCompatible>
<RootNamespace>Coplt.Graphics</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<NoGen>false</NoGen>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Coplt.Dropping" Version="0.6.0" />
<PackageReference Include="Coplt.Mathematics" Version="0.10.0"/>
<PackageReference Include="Coplt.Union" Version="0.11.0" />
<PackageReference Include="Fody" Version="6.9.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="InlineIL.Fody" Version="1.10.0" PrivateAssets='All'/>
</ItemGroup>
<ItemGroup>
<FFI_Headers Include="../Coplt.Graphics.Native/Api/FFI/**/*.h" Visible="false"/>
<FFI_Headers Include="../Coplt.Graphics.Native/D3d12/FFI/**/*.h" Visible="false"/>
<FFI_Output Include="./Native/Native.cs"/>
<FFI_Output Include="./Native/Native.D3d12.cs"/>
</ItemGroup>
<Target Name="FFI" BeforeTargets="PrepareForBuild" Inputs="@(FFI_Headers)" Outputs="@(FFI_Output)" Condition="'$(NoGen)' != 'true'">
<Exec Command="ClangSharpPInvokeGenerator -std=c++23 @GenerateBinding.rsp"/>
<Exec Command="ClangSharpPInvokeGenerator -std=c++23 @GenerateBinding.D3d12.rsp"/>
</Target>
</Project>