Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- call "\Program Files\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat"
- :compile
- @echo === building bam ===
- @cl /D_CRT_SECURE_NO_DEPRECATE /O2 /nologo src/tools/txt2c.c /Fesrc/tools/txt2c.exe
- @src\tools\txt2c src/base.lua src/tools.lua src/driver_gcc.lua src/driver_clang.lua src/driver_cl.lua > src\internal_base.h
- @REM /DLUA_BUILD_AS_DLL = export lua functions
- @REM /W3 = Warning level 3
- @REM /Ox = max optimizations
- @REM /TC = compile as c
- @REM /Zi = generate debug database
- @REM /GS- = no stack checks
- @REM /GL = Whole program optimization (ltcg)
- @REM /LTCG = link time code generation
- @cl /D_CRT_SECURE_NO_DEPRECATE /DLUA_BUILD_AS_DLL /W3 /O2 /TC /Zi /GS- /GL /nologo /I src/lua src/*.c src/lua/*.c /Febam.exe /link /LTCG
- @REM clean up
- @del bam.exp
- @del *.obj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement