Files

36 lines
1.2 KiB
XML
Raw Permalink Normal View History

2026-02-28 14:14:35 -08:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Library</OutputType>
<PublishAot>true</PublishAot>
<AssemblyName>quantalib_native</AssemblyName>
<PackageId>QuanTAlib.Python.Native</PackageId>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<InvariantGlobalization>true</InvariantGlobalization>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
</PropertyGroup>
2026-02-28 14:14:35 -08:00
<ItemGroup>
<Compile Include="src\**\*.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\lib\quantalib.csproj" />
</ItemGroup>
<!-- Prevent NativeAOT trimmer from stripping QuanTAlib types.
The ILC linker must keep ALL types in the referenced assembly
because [UnmanagedCallersOnly] exports call static Batch methods
on ~120 different indicator types via try/catch wrappers. -->
<ItemGroup>
<TrimmerRootAssembly Include="QuanTAlib" />
</ItemGroup>
</Project>