Help multiline command

This commit is contained in:
Valentin Buira 2024-11-07 01:18:21 +01:00
parent c09d92805e
commit ac64600ab8

View File

@ -764,20 +764,20 @@ over the dependencies.
We will now configure QGIS.
Open a _Developer PowerShell for VS 2022_
Open a _Developer Command Prompt for VS 2022_
```ps
# We assume you have a copy of the QGIS source code available
# and have changed the working directory into it
# Configure
cmake -S . \
-B build \
-DSDK_PATH="path/to/vcpkg-export-[date]" \
-DBUILD_WITH_QT6=ON \
-DWITH_QTWEBKIT=OFF \
-DVCPKG_TARGET_TRIPLET=x64-windows-release \
-DFLEX_EXECUTABLE="path/to/flex-executable" \
cmake -S . ^
-B build ^
-DSDK_PATH="path/to/vcpkg-export-[date]" ^
-DBUILD_WITH_QT6=ON ^
-DWITH_QTWEBKIT=OFF ^
-DVCPKG_TARGET_TRIPLET=x64-windows-release ^
-DFLEX_EXECUTABLE="path/to/flex-executable" ^
-DBISON_EXECUTABLE="path/to/bison-executable"
```
@ -803,12 +803,12 @@ This will require some time, cpu and disk space.
# and have changed the working directory into it
# Configure
cmake -S . \
-B build \
-D WITH_VCPKG=ON \
-D BUILD_WITH_QT6=ON \
-D WITH_QTWEBKIT=OFF \
-D VCPKG_TARGET_TRIPLET=x64-windows-release \
cmake -S . ^
-B build ^
-D WITH_VCPKG=ON ^
-D BUILD_WITH_QT6=ON ^
-D WITH_QTWEBKIT=OFF ^
-D VCPKG_TARGET_TRIPLET=x64-windows-release ^
-D VCPKG_HOST_TRIPLET=x64-windows-release
```