scirpt: build script.

This commit is contained in:
2025-07-06 13:04:05 +08:00
parent a65764dd5b
commit 3323755800
10 changed files with 64 additions and 110 deletions

View File

@@ -1,2 +1,11 @@
cmake -B../build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/data/data/com.termux/files/usr/lib -S../
cmake --build ../build --config Release
#!/bin/bash
cd ..
xmake f -a x64 -m release --qt="/data/data/com.termux/files/usr/lib" --qt5=y -o build-linux -v
xmake
if [ $? -eq 0 ]; then
echo "xmake command executed successfully"
else
echo "xmake command failed"
exit 1
fi