From 181c1eeede1e30497613ddbfc96f25c99f35e978 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 19 Aug 2008 11:43:57 -0400 Subject: 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. --- Tests/test_clean.cmake.in | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Tests/test_clean.cmake.in (limited to 'Tests/test_clean.cmake.in') diff --git a/Tests/test_clean.cmake.in b/Tests/test_clean.cmake.in new file mode 100644 index 0000000000..ce5e62b795 --- /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}) -- cgit v1.2.1