Metadorius / flecs-cs

Automatically updated C# bindings for flecs https://github.com/SanderMertens/flecs with native dynamic link libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flecs-cs

Automatically updated C# bindings for https://github.com/SanderMertens/flecs with native dynamic link libraries.

How to use

From source

  1. Download and install .NET 6.
  2. Fork the repository using GitHub or clone the repository manually with submodules: git clone --recurse-submodules https://github.com/bottlenoselabs/flecs-cs.
  3. Build the native library by running library.sh. To execute .sh scripts on Windows, use Git Bash which can be installed with Git itself: https://git-scm.com/download/win. The library.sh script requires that CMake is installed and in your path.
  4. Import the MSBuild flecs.props file which is located in the root of this directory to your .csproj file to setup everything you need. See the hello world sample for an example of how to do this.
<!-- flecs: bindings + native library -->
<Import Project="$([System.IO.Path]::GetFullPath('path/to/flecs.props'))" />

Developers: Documentation

For more information on how C# bindings work, see C2CS, the tool that generates the bindings for flecs and other C libraries.

To learn how to use flecs, check out the https://github.com/SanderMertens/flecs#documentation.

License

flecs-cs is licensed under the MIT License (MIT) - see the LICENSE file for details.

flecs itself is licensed under MIT (MIT) - see https://github.com/SanderMertens/flecs/blob/master/LICENSE for more details.

About

Automatically updated C# bindings for flecs https://github.com/SanderMertens/flecs with native dynamic link libraries.

License:MIT License


Languages

Language:C# 98.5%Language:Shell 1.5%