Specify the CTest BuildDirectory setting in a ctest3(1) dashboard client script.
BuildDirectory
ctest3(1)
CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>
CTEST_BUILD_COMMAND