doc: change binaries output target from release to artifacts

This commit is contained in:
saturneric 2024-01-08 15:46:14 +08:00
parent fd1f245ebb
commit fa10ad626b

View File

@ -146,7 +146,7 @@ $ ninja
After compiling, a release directory will be generated, which contains executable files that can be run directly. After compiling, a release directory will be generated, which contains executable files that can be run directly.
```shell ```shell
$ ./release/GpgFrontend.exe $ ./artifacts/GpgFrontend.exe
``` ```
### For macOS ### For macOS
@ -167,7 +167,7 @@ $ cd GpgFrontend
$ mkdir build && cd build $ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 .. $ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
$ ninja $ ninja
$ ./release/GpgFrontend # run the program $ ./artifacts/GpgFrontend # run the program
``` ```
Build the code and make the App Bundle. Build the code and make the App Bundle.
@ -177,7 +177,7 @@ $ cd GpgFrontend
$ mkdir build && cd build $ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 .. $ cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
$ ninja $ ninja
$ macdeployqt ./release/GpgFrontend.app $ macdeployqt ./artifacts/GpgFrontend.app
``` ```
### For Ubuntu 18.04 And Later ### For Ubuntu 18.04 And Later
@ -233,7 +233,7 @@ $ cd GpgFrontend
$ mkdir build && cd build $ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" .. $ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" ..
$ ninja $ ninja
$ ./release/GpgFrontend # run the program $ ./artifacts/GpgFrontend # run the program
``` ```
Package the AppImage(Should use ubuntu 18.04). Package the AppImage(Should use ubuntu 18.04).
@ -247,7 +247,7 @@ $ mkdir ./AppImageOut
$ cd ./AppImageOut $ cd ./AppImageOut
$ wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage $ wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
$ chmod u+x linuxdeployqt-continuous-x86_64.AppImage $ chmod u+x linuxdeployqt-continuous-x86_64.AppImage
$ ./linuxdeployqt-continuous-x86_64.AppImage ../release/gpgfrontend/usr/share/applications/*.desktop -appimage $ ./linuxdeployqt-continuous-x86_64.AppImage ../artifacts/gpgfrontend/usr/share/applications/*.desktop -appimage
``` ```
## Language Support ## Language Support