码迷,mamicode.com
首页 > 其他好文 > 详细

msvs命令行编译lua5.3.4

时间:2018-01-13 22:15:05      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:dep   bit   api   crt   efi   utf8   文件   uac   pre   

msvs命令行编译lua5.3.4

 

vslua.bat

@echo off
md bin
md lib
md include
cd src

cl /c /nologo /W3 /O2 /Ob1 /Oi /Gs /MD /D_CRT_SECURE_NO_DEPRECATE l*.c
ren lua.obj lua.o
ren luac.obj luac.o
lib /OUT:lua53.lib *.obj
copy lua53.lib ..\lib\lua53.lib
del *.o *.obj *.exp *.lib *.dll *.exe

cl /c /nologo /W3 /O2 /Ob1 /Oi /Gs /MD /D_CRT_SECURE_NO_DEPRECATE /DLUA_BUILD_AS_DLL l*.c
ren lua.obj lua.o
ren luac.obj luac.o
link /DLL /IMPLIB:lua53.lib /OUT:lua53.dll *.obj
link /OUT:lua53.exe lua.o lua53.lib
link /OUT:luac53.exe luac.o *.obj
copy lua53.exp ..\bin\lua53.exp
copy lua53.lib ..\bin\lua53.lib
copy lua53.dll ..\bin\lua53.dll
copy lua53.exe ..\bin\lua53.exe
copy luac53.exe ..\bin\luac53.exe
del *.o *.obj *.exp *.lib *.dll *.exe

copy lauxlib.h ..\include\lauxlib.h
copy lua.h ..\include\lua.h
copy lua.hpp ..\include\lua.hpp
copy luaconf.h ..\include\luaconf.h
copy lualib.h ..\include\lualib.h
cd ..\

 

文件列表:

D:\LUA-5.3.4
│  Makefile
│  README
│  vslua.bat
│
├─bin
│      lua53.dll
│      lua53.exe
│      lua53.exp
│      lua53.lib
│      luac53.exe
│
├─doc
│      contents.html
│      index.css
│      logo.gif
│      lua.1
│      lua.css
│      luac.1
│      Lua_5.3_manual.pdf
│      manual.css
│      manual.html
│      osi-certified-72x60.png
│      readme.html
│
├─include
│      lauxlib.h
│      lua.h
│      lua.hpp
│      luaconf.h
│      lualib.h
│
├─lib
│      lua53.lib
│
└─src
        lapi.c
        lapi.h
        lauxlib.c
        lauxlib.h
        lbaselib.c
        lbitlib.c
        lcode.c
        lcode.h
        lcorolib.c
        lctype.c
        lctype.h
        ldblib.c
        ldebug.c
        ldebug.h
        ldo.c
        ldo.h
        ldump.c
        lfunc.c
        lfunc.h
        lgc.c
        lgc.h
        linit.c
        liolib.c
        llex.c
        llex.h
        llimits.h
        lmathlib.c
        lmem.c
        lmem.h
        loadlib.c
        lobject.c
        lobject.h
        lopcodes.c
        lopcodes.h
        loslib.c
        lparser.c
        lparser.h
        lprefix.h
        lstate.c
        lstate.h
        lstring.c
        lstring.h
        lstrlib.c
        ltable.c
        ltable.h
        ltablib.c
        ltm.c
        ltm.h
        lua.c
        lua.h
        lua.hpp
        luac.c
        luaconf.h
        lualib.h
        lundump.c
        lundump.h
        lutf8lib.c
        lvm.c
        lvm.h
        lzio.c
        lzio.h
        Makefile

 

msvs命令行编译lua5.3.4

标签:dep   bit   api   crt   efi   utf8   文件   uac   pre   

原文地址:https://www.cnblogs.com/lsgxeva/p/8280487.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!