wkslight
is the abbreviation ofworkspace light
, a C/C++lightweight
projectbuild tool
based on premake5.
mkdir -p ~/work/work2
cd ~/work/work2/
git clone --recursive https://github.com/ignite720/wkslight.git
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
source premake5-generate-macos.sh
source gmake-pc.sh
Double click
premake5-generate-windows.bat
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
Double click
premake5-generate-windows-uwp.bat
source premake5-generate-web.sh
source gmake-web.sh