Skip to content

English

English

Appearance

Refer luarocks-build-xmake

If your lua module contains C code, you can use LuaNativeObjects to generate C code from lua code. Refer example.

EXPLORER
src
example.nobj.lua
xmake.lua
Lua xmake.lua
123456
add_rules("mode.debug", "mode.release")

target("rime")
 add_rules("lua.module", "lua.native-objects")
 add_files("src/*.nobj.lua")
 add_cflags("-Wno-int-conversion")

AltStyle によって変換されたページ (->オリジナル) /