What are your actual requirements here? Do you need to be able to move the build directory to a location dynamically specified or is there something more granular that you’re needing to achieve?
Yeah I want to specify the build directory at build time dynamically. I call gradle from the cmake build system and want the gradle build directory to be inside the cmake build directory.