Automatically updated C# bindings for https://github.com/SanderMertens/flecs with native dynamic link libraries.
- 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.shscripts on Windows, use Git Bash which can be installed with Git itself: https://git-scm.com/download/win. Thelibrary.shscript requires that CMake is installed and in your path. - Import the MSBuild
flecs.propsfile which is located in the root of this directory to your.csprojfile 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'))" />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.
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.