Skip to content

About

A mostly source-generated, blittable bindings library wrapping libopenmpt using ClangSharp's PInvokeGenerator and csbindgen's GroupedNativeMethodsGenerator, targeting .NET 8.0, 10.0 and .NET Standard 2.0.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

LibOpenMPT.NET

A mostly source-generated, blittable bindings library wrapping libopenmpt using ClangSharp's PInvokeGenerator and csbindgen's GroupedNativeMethodsGenerator, targeting .NET 8.0, 10.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, 10.0 and .NET Standard 2.0.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Packages

Used by

Contributors

Languages