squeek502 / d2grailcheck

Tool for checking/outputting the status of a Diablo II holy grail challenge
The Unlicense
2 stars 0 forks source link

luastatic prep #2

Open squeek502 opened 5 years ago

squeek502 commented 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