-DBUILD_GUI=OFF is implied by -DBUILD_FOR_FUZZING=ON.
Yes. But it is evaluated after an attempt to look for the Qt packages. In this case, -DBUILD_GUI=OFF simply negates -DBUILD_GUI=ON from the “vs2022-static” preset.
What does -DVCPKG_MANIFEST_NO_DEFAULT_FEATURES=ON -DVCPKG_MANIFEST_FEATURES="sqlite" do?
The optional vcpkg packages are organised in “features” in the vcpkg.json manifest file.
-DVCPKG_MANIFEST_NO_DEFAULT_FEATURES=ON -DVCPKG_MANIFEST_FEATURES="sqlite" means “build and install only the sqlite3 package, skipping all other optional packages”.
we’re using the same vcpkg cache for both jobs would that still work with this change?
To be precise, both jobs read the vcpkg binary cache, which works for a subset of packages just fine, and only the “standard” job writes the cache, which is correct.