maan is a C++ library binding to LuaJIT. It attempts to make use of modern C++ features in hopes to achieve a similar
feature set to Sol2, while maintaining a much more reasonable size. (Both binary and
Codebase size)
The project uses the LuaJIT GitHub mirror as a git submodule.
git clone --recurse-submodules https://github.com/iamtimmy/maan.git
or
git clone https://github.com/iamtimmy/maan.git
git submodule update --init --recursive
- Install Visual Studio 2022 link
- Open a
Native Tools Command Prompt for VS 2022for your target architecture (x86orx64) - Navigate to
<clone location>/luajit/LuaJIT/src/- Optional: Have a look at the build script and the one in
<clone location>/luajit/msvcbuild.batfor some extra compiler options
- Optional: Have a look at the build script and the one in
- compile with
.\msvcbuild.bat static - Navigate to
<clone location>/luajit/ - gather the required headers with
.\gatherinclude.bat - gather the compiler output with
.\gathercompile.bat <target architecture>
Linux support is currently untested The library is written in standard C++, please submit an issue if anything comes up
I cannot test this currently, please submit issues/pull requests to fix problems as they come up