ignite720 / wkslight

Home Page:https://ignite720.github.io/wkslight/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wkslight

What's this

wkslight is the abbreviation of workspace light, a C/C++ lightweight project build tool based on premake5.

GitHub repo size GitHub last commit


CI

GitHub Actions Workflow Status

GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status


Demo

github


Examples



How to build

Download premake

mkdir -p ~/work/work2
cd ~/work/work2/

git clone --recursive https://github.com/ignite720/wkslight.git

1. Linux

1.1 build

source premake5-generate-linux.sh 
source gmake-pc.sh 

1.2 run

1.2.1 run directly

source tool-app-run-pc.sh 

1.2.2 cargo run

source cargo-run-pc.sh 

1.3 clean(optional)

source premake5-clean.sh 

1.4 test(optional)

./tool-pytest.py

2. macOS

source premake5-generate-macos.sh 
source gmake-pc.sh 

3. Windows

Double click premake5-generate-windows.bat


4. Android

4.1 gradle => bin/apk-debug/app.apk

source premake5-generate-android.sh 
source android-build.sh 

4.2 cargo-apk => bin/android-apk/app.apk

Note that folder 42w5j234 may change, so pass it in as a parameter.

RUSTFLAGS="-L ../build/app/app/.cxx/Debug/42w5j234/arm64-v8a" source cargo-apk.sh

5. Windows UWP

Double click premake5-generate-windows-uwp.bat


6. Web

source premake5-generate-web.sh 
source gmake-web.sh 

About

https://ignite720.github.io/wkslight/

License:Creative Commons Zero v1.0 Universal


Languages

Language:C++ 99.0%Language:Lua 0.6%Language:C 0.1%Language:Shell 0.1%Language:Batchfile 0.1%Language:Rust 0.0%Language:Java 0.0%Language:Python 0.0%