@@ -42,27 +42,31 @@ Available presets can be listed as follows:
42
42
cmake --list-presets
43
43
```
44
44
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
+
45
49
## Building
46
50
47
51
CMake will put the resulting object files, libraries, and executables into a dedicated build directory.
48
52
49
53
In the following instructions, the "Debug" configuration can be specified instead of the "Release" one.
50
54
51
- ### 4. Building with Dynamic Linking with GUI
55
+ ### 4. Building with Static Linking with GUI
52
56
53
57
```
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.
55
59
cmake --build build --config Release # Use "-j N" for N parallel jobs.
56
60
ctest --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.
57
62
```
58
63
59
- ### 5. Building with Static Linking without GUI
64
+ ### 5. Building with Dynamic Linking without GUI
60
65
61
66
```
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.
63
68
cmake --build build --config Release # Use "-j N" for N parallel jobs.
64
69
ctest --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.
66
70
```
67
71
68
72
## Performance Notes
0 commit comments