flecs-cs
Automatically updated C# bindings for https://github.com/SanderMertens/flecs with native dynamic link libraries.
How to use
From source
- Download and install .NET 6.
- Fork the repository using GitHub or clone the repository manually with submodules:
git clone --recurse-submodules https://github.com/bottlenoselabs/flecs-cs
. - 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. Thelibrary.sh
script requires that CMake is installed and in your path. - 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.