hanxi / zig-build-lua

使用zig编译lua,可交叉编译。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use zig to compile lua

Easily cross-compile lua executable files for different platforms, without the need for mingw, gcc and other tools.

Compile

zig build

Cross-compile, for example, compile exe files on Linux

zig build -Dtarget=x86_64-windows

Output files are in the zig-out directory

References

使用 zig 编译 lua

方面跨平台交叉编译出 lua 可执行文件,无需 mingw,gcc 等工具。

编译

zig build

交叉编译,比如在 Linux 下编译 exe 文件

zig build -Dtarget=x86_64-windows

输出文件在 zig-out 目录

参考

About

使用zig编译lua,可交叉编译。

License:MIT License


Languages

Language:C 67.7%Language:HTML 30.7%Language:Makefile 0.8%Language:Roff 0.5%Language:CSS 0.2%Language:Zig 0.1%Language:C++ 0.0%