d16fd524b0
* Added the new generator * split some of the native builds into archs * Update the native skia * Generate the interop layer and use it |
||
---|---|---|
.. | ||
SkiaSharpGenerator | ||
README.md | ||
Utils.sln | ||
global.json |
README.md
Utils
This directory contains a few tools to help with the binding and development of SkiaSharp and related libraries.
SkiaSharpGenerator
This is a small set of tools that help with generating the p/invoke layer from the C header files.
This can be run with:
dotnet run --project=utils/SkiaSharpGenerator/SkiaSharpGenerator.csproj -- generate --config binding/libSkiaSharp.json --skia externals/skia --output binding/Binding/SkiaApi.generated.cs
--config binding/libSkiaSharp.json
The path to the JSON file that help generate a useful set of p/invoke definions and structures.--skia externals/skia
The path to the root of the skia source.--output binding/Binding/SkiaApi.generated.cs
The path to the generated file.