W3cubDocs

/CMake 3.19

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–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/command/ctest_empty_binary_directory.html