zoukankan      html  css  js  c++  java
  • msvs命令行编译lua5.3.4

    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 ..liblua53.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 ..inlua53.exp
    copy lua53.lib ..inlua53.lib
    copy lua53.dll ..inlua53.dll
    copy lua53.exe ..inlua53.exe
    copy luac53.exe ..inluac53.exe
    del *.o *.obj *.exp *.lib *.dll *.exe
    
    copy lauxlib.h ..includelauxlib.h
    copy lua.h ..includelua.h
    copy lua.hpp ..includelua.hpp
    copy luaconf.h ..includeluaconf.h
    copy lualib.h ..includelualib.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
    
  • 相关阅读:
    !!!C#——进制转换!
    冒泡排序后用二分查找法查找位置
    简陋的4位验证码程序(范围内取随机数)
    这个年龄计算程序相当不科学,体验还是差差哒
    8.7课堂随笔
    字符串中查询关键字
    !汉企的WiFi网速好快
    重度强迫症患者的九九乘法表
    自选数字和范围的整除算法
    day52
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/8280487.html
Copyright © 2011-2022 走看看