Skip to content
awtk lua bindings
C C++ HTML Makefile Python Shell
Branch: master
Clone or download

Latest commit

xianjimli
xianjimli sync assets
Latest commit da923a3 Mar 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
3rd/lua
assets
demos
docs
scripts
src
.clang-format
.gitignore
LICENSE
README.md
SConstruct
format.sh
sync.sh
sync_assets.sh

README.md

awtk-lua

awtk lua bindings.

准备

1.获取awtk并编译

git clone https://github.com/zlgopen/awtk.git
cd awtk; scons; cd -

2.获取awtk-lua并编译

git clone https://github.com/zlgopen/awtk-lua.git
cd awtk-lua
scons

更新绑定

./sync.sh

在非bash终端(如Windows平台的cmd.exe),需要根据sync.sh的内容手工执行相应的命令。

运行

./bin/awtkRun demos/xxxx.lua

请把xxxx.lua换成具体的lua文件。

文档

lua绑定原理与示例

本文以Linux/MacOS为例,Windows可能会微妙差异,请酌情处理。

You can’t perform that action at this time.