All Projects → zhaozg → luajit-cmake

zhaozg / luajit-cmake

Licence: MIT license
cmake build for LuaJIT, macOS, Linux, Windows, MingW, iOS, Android

Programming Languages

CMake
9771 projects
c
50402 projects - #5 most used programming language
lua
6591 projects
Makefile
30231 projects

luajit-cmake

A flexible cmake builder for LuaJIT. Forked from https://github.com/WohlSoft/LuaJIT and update.

Build

make

Use a GNU compatible make.

make -DLUAJIT_DIR=... or mingw32-make -DLUAJIT_DIR=... or gnumake -DLUAJIT_DIR=....

Note: When use mingw32-make, please change \\ to / in file path on Windows.

cmake

Use cmake to compile.

cmake -H. -Bbuild -DLUAJIT_DIR=...
make --build build --config Release

CrossCompile

iOS

make iOS

Android

make Android

Windows

make Windows

Note

Note: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS). So I use mingw-w64 and wine to build and run 32 bits minilua and buildvm.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].