BINARY_DIR
Added in version 3.7.
This read-only directory property reports absolute path to the binary directory corresponding to the source on which it is read.
© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/prop_dir/BINARY_DIR.html