- Open Visual Studio Developer Prompt
- Build single executable Lua:
cl /Fesrc/lua.exe -I../src src/one.c Advapi32.lib
- Build dist:
src\lua src\luabuild.lua vs_rel_pdb
call builtin()
function to load built-in module.
Module | URL |
---|---|
lpath | https://github.com/starwing/lpath |
miniz | https://github.com/starwing/lua-miniz |
Cmd | Description |
---|---|
vs | Build with Visual Studio |
vs_dbg | include *.pdb debug symbol |
vs_rel | using release profile |
vs_rel_pdb | 5FF1 using release profile and include *.pdb debug symbol |
vs_rel_min | Build minimal release |
gcc | Build with gcc (MinGW) |
gcc_dbg | Build with gcc and include debug symbol for gdb |
gcc_rel | Build with gcc and release profile |