/LibOpenMPT.NET

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.

Primary LanguageC#Mozilla Public License 2.0MPL-2.0

LibOpenMPT.NET

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.

Native libraries

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.

Building

Essentially just replicate the CI instructions.

Licensing

This project is subject to the terms of the Mozilla Public License, v. 2.0.