The ctest_build() command gained a PRESET option drive the build through a build preset.
ctest_build()
PRESET
ctest-passthrough-args
discover-tests