diff options
author | Brad King <brad.king@kitware.com> | 2008-08-19 15:43:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-19 15:43:57 (GMT) |
commit | 181c1eeede1e30497613ddbfc96f25c99f35e978 (patch) | |
tree | 88f5998da3d3b9aa35428a0d67358933332807e6 /Tests/test_clean.cmake.in | |
parent | fe98e57e3825344811e40d30bde1c07ffeeb5696 (diff) | |
download | CMake-181c1eeede1e30497613ddbfc96f25c99f35e978.zip CMake-181c1eeede1e30497613ddbfc96f25c99f35e978.tar.gz CMake-181c1eeede1e30497613ddbfc96f25c99f35e978.tar.bz2 |
ENH: Add test_clean target to wipe out tests
We frequently need to wipe out all the CMake test build directories in
order to run tests from scratch. This change adds a test_clean custom
target to remove all these directories for out-of-source builds.
Diffstat (limited to 'Tests/test_clean.cmake.in')
-rw-r--r-- | Tests/test_clean.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/test_clean.cmake.in b/Tests/test_clean.cmake.in new file mode 100644 index 0000000..ce5e62b --- /dev/null +++ b/Tests/test_clean.cmake.in @@ -0,0 +1,2 @@ +SET(TEST_BUILD_DIRS "@TEST_BUILD_DIRS@") +FILE(REMOVE_RECURSE ${TEST_BUILD_DIRS}) |