This repo shows how to make a simple C++ program which uses sol2 and builds Lua manually with CMake.
Also see: https://edw.is/using-lua-with-cpp/
- git
- CMake 3.18+
- A compiler which can compile C++17 (and later)
git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .
./src/game