Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zlgopen/awtk-lua
awtk lua bindings
https://github.com/zlgopen/awtk-lua
awtk gui lua
Last synced: about 2 months ago
JSON representation
awtk lua bindings
- Host: GitHub
- URL: https://github.com/zlgopen/awtk-lua
- Owner: zlgopen
- License: lgpl-2.1
- Created: 2018-08-05T03:52:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T03:02:53.000Z (2 months ago)
- Last Synced: 2024-10-28T06:43:25.854Z (2 months ago)
- Topics: awtk, gui, lua
- Language: C
- Size: 25.1 MB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```* 生成资源
```
python ./scripts/update_res.py all
```> 或者通过 designer 生成资源
* 编译PC版本
```
scons
```* 编译LINUX FB版本
```
scons LINUX_FB=true
```> 完整编译选项请参考[编译选项](https://github.com/zlgopen/awtk-widget-generator/blob/master/docs/build_options.md)
## 更新绑定
```
./sync.sh
```> 在非bash终端(如Windows平台的cmd.exe),需要根据sync.sh的内容手工执行相应的命令。
## 运行
```
./bin/awtkRun demos/xxxx.lua
```
> 请把xxxx.lua换成具体的lua文件。## 文档
[lua绑定原理与示例](docs/binding_lua.md)
> 本文以Linux/MacOS为例,Windows可能会微妙差异,请酌情处理。