Open squeek502 opened 5 years ago
See https://github.com/squeek502/d2info/tree/master/scripts
For building luv:
BUILD_MODULE=OFF WITH_LUA_ENGINE=Lua LUA_BUILD_TYPE=System CMAKE_OPTIONS="-DLUA_INCLUDE_DIR=/path/to/lua/includes -DLUA_LIBRARY=/path/to/liblua.a" make
For more control, could skip the Makefile and use cmake directly, something like:
mkdir build && cd build cmake .. -DBUILD_MODULE=OFF -DWITH_LUA_ENGINE=Lua -DLUA_BUILD_TYPE=System -DLUA_INCLUDE_DIR=/path/to/lua/includes -DLUA_LIBRARY=/path/to/liblua.a make
See https://github.com/squeek502/d2info/tree/master/scripts
For building luv:
For more control, could skip the Makefile and use cmake directly, something like: