Xpl0itR / 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.

Home Page:https://lib.openmpt.org/doc/group__libopenmpt__c.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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.

https://lib.openmpt.org/doc/group__libopenmpt__c.html

License:Mozilla Public License 2.0


Languages

Language:C# 100.0%