@@ -42,27 +42,31 @@ Available presets can be listed as follows:
4242cmake --list-presets
4343```
4444
45+ By default, all presets:
46+ - Set ` BUILD_GUI ` to ` ON ` .
47+ - Set ` WITH_QRENCODE ` to ` OFF ` , due to known build issues when using vcpkg's ` libqrencode ` package.
48+
4549## Building
4650
4751CMake will put the resulting object files, libraries, and executables into a dedicated build directory.
4852
4953In the following instructions, the "Debug" configuration can be specified instead of the "Release" one.
5054
51- ### 4. Building with Dynamic Linking with GUI
55+ ### 4. Building with Static Linking with GUI
5256
5357```
54- cmake -B build --preset vs2022 -DBUILD_GUI=ON # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
58+ cmake -B build --preset vs2022-static # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
5559cmake --build build --config Release # Use "-j N" for N parallel jobs.
5660ctest --test-dir build --build-config Release # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
61+ cmake --install build --config Release # Optional.
5762```
5863
59- ### 5. Building with Static Linking without GUI
64+ ### 5. Building with Dynamic Linking without GUI
6065
6166```
62- cmake -B build --preset vs2022-static # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
67+ cmake -B build --preset vs2022 -DBUILD_GUI=OFF # It might take a while if the vcpkg binary cache is unpopulated or invalidated.
6368cmake --build build --config Release # Use "-j N" for N parallel jobs.
6469ctest --test-dir build --build-config Release # Use "-j N" for N parallel tests. Some tests are disabled if Python 3 is not available.
65- cmake --install build --config Release # Optional.
6670```
6771
6872## Performance Notes
0 commit comments