A mostly source-generated, blittable bindings library wrapping libopenmpt using ClangSharp's PInvokeGenerator and csbindgen's GroupedNativeMethodsGenerator, targeting .NET 8.0 and .NET Standard 2.0.
By default, the included native libraries are copied to the build output directory, to disable this, add ExcludeAssets="native"
to the PackageReference
in your csproj.
The nuget package only includes native libraries for Windows x64, packages for other platforms can be found on the OpenMPT wiki.
Essentially just replicate the CI instructions.
This project is subject to the terms of the Mozilla Public License, v. 2.0.