forked from redo/BlockLua
		
	BlockLua.dll compiles to build dir
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +1,3 @@ | ||||
| .* | ||||
| !.gitignore | ||||
| build/ | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								BlockLua.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								BlockLua.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user