ctest_empty_binary_directory

From Get docs
Cmake/docs/3.21/command/ctest empty binary directory


ctest_empty_binary_directory

empties the binary directory

ctest_empty_binary_directory( directory )

Removes a binary directory. This command will perform some checks prior to deleting the directory in an attempt to avoid malicious or accidental directory deletion.

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