BINARY_DIR

From Get docs
Cmake/docs/3.21/prop tgt/binary dir


BINARY_DIR

New in version 3.4.


This read-only property reports the value of the CMAKE_CURRENT_BINARY_DIR variable in the directory in which the target was defined.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/BINARY_DIR.html