forked from redo/BlockLua
Create compile.sh
This commit is contained in:
13
compile.sh
Normal file
13
compile.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
buildargs="-Wall -Werror -m32 -shared -Isrc -Iinc/tsfuncs -Iinc/lua -lpsapi -L. -llua5.1 -static-libgcc -static-libstdc++"
|
||||
|
||||
set -x
|
||||
g++ src/bllua4.cpp $buildargs -o BlockLua.dll && g++ -DBLLUA_UNSAFE src/bllua4.cpp $buildargs -o BlockLua-Unsafe.dll
|
||||
set +x
|
||||
|
||||
# objdump -d BlockLua.dll > BlockLua.dll.dump.txt
|
||||
# objdump -d BlockLua-Unsafe.dll > BlockLua-Unsafe.dll.dump.txt
|
||||
Reference in New Issue
Block a user