summaryrefslogtreecommitdiff
path: root/tags/1.2.1/cmakescripts/testclean.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tags/1.2.1/cmakescripts/testclean.cmake')
-rw-r--r--tags/1.2.1/cmakescripts/testclean.cmake34
1 files changed, 34 insertions, 0 deletions
diff --git a/tags/1.2.1/cmakescripts/testclean.cmake b/tags/1.2.1/cmakescripts/testclean.cmake
new file mode 100644
index 0000000..e357787
--- /dev/null
+++ b/tags/1.2.1/cmakescripts/testclean.cmake
@@ -0,0 +1,34 @@
+file(GLOB FILES
+ testout*
+ *_GRAY_*.bmp
+ *_GRAY_*.png
+ *_GRAY_*.ppm
+ *_GRAY_*.jpg
+ *_GRAY.yuv
+ *_420_*.bmp
+ *_420_*.png
+ *_420_*.ppm
+ *_420_*.jpg
+ *_420.yuv
+ *_422_*.bmp
+ *_422_*.png
+ *_422_*.ppm
+ *_422_*.jpg
+ *_422.yuv
+ *_444_*.bmp
+ *_444_*.png
+ *_444_*.ppm
+ *_444_*.jpg
+ *_444.yuv
+ *_440_*.bmp
+ *_440_*.png
+ *_440_*.ppm
+ *_440_*.jpg
+ *_440.yuv)
+
+if(NOT FILES STREQUAL "")
+ message(STATUS "Removing test files")
+ file(REMOVE ${FILES})
+else()
+ message(STATUS "No files to remove")
+endif()