mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: add the file to project
This commit is contained in:
parent
fa365f22df
commit
9396c3f5b3
14
scripts/linux.sh
Executable file
14
scripts/linux.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# if build is exist, remove it
|
||||
if [ -d "build" ]; then
|
||||
rm -rf build
|
||||
fi
|
||||
|
||||
git fetch --tags
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../../ -DCMAKE_PREFIX_PATH='/home/user/Qt/6.8.2/gcc_64' -DCMAKE_BUILD_TYPE:STRING=Release -G "Ninja"
|
||||
cmake --build . --target xTools
|
||||
cmake --build . --target xTools_deb
|
||||
cmake --build . --target xTools_appimage
|
||||
Loading…
Reference in New Issue
Block a user