WIP: Auios' version - Do not merge. Only here for comparison #9

Draft
Auios wants to merge 28 commits from Auios/BlockLua:master into master
3 changed files with 7 additions and 3 deletions
Showing only changes of commit 4d74df209e - Show all commits

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
.*
!.gitignore
build/

Binary file not shown.

View File

@@ -1,16 +1,19 @@
@echo off
cd /d %~dp0
rem ensure build directory exists
if not exist build mkdir build
set buildargs=-Wall -Werror -m32 -shared -Isrc -Iinc/tsfuncs -Iinc/lua -lpsapi -L. -llua5.1 -static-libgcc -static-libstdc++
echo on
g++ src/bllua4.cpp %buildargs% -o BlockLua.dll
g++ src/bllua4.cpp %buildargs% -o build\BlockLua.dll
@rem g++ -DBLLUA_UNSAFE src/bllua4.cpp %buildargs% -o BlockLua-Unsafe.dll
@echo off
rem objdump -d BlockLua.dll > BlockLua.dll.dump.txt
rem objdump -d BlockLua-Unsafe.dll > BlockLua-Unsafe.dll.dump.txt
rem objdump -d build\BlockLua.dll > build\BlockLua.dll.dump.txt
rem objdump -d build\BlockLua-Unsafe.dll > build\BlockLua-Unsafe.dll.dump.txt
pause