Commit aee0d8c4 authored by jcfr's avatar jcfr
Browse files

COMP: Remove unused "CMake/RemoveTemporaryFiles.cmake" file

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16189 3bd1e089-480b-0410-8dfb-8563597acbee
parent c895c377
#
# Remove temporary files that are generated by build submissions,
# cmake configure and testing
#
# Cleanup old dashboard submissions
FILE(GLOB OLD_DASHBOARDS "@Slicer_BINARY_DIR@/Testing/20*")
FOREACH(OLD ${OLD_DASHBOARDS})
MESSAGE(" Removing old submission in ${OLD}")
FILE(REMOVE_RECURSE "${OLD}")
ENDFOREACH(OLD ${OLD_DASHBOARDS})
# Cleanup the Testing/Temporary directory
FILE(REMOVE_RECURSE "@Slicer_BINARY_DIR@/Testing/Temporary")
# Cleanup the CMake Error and Output logs
FILE(REMOVE "@Slicer_BINARY_DIR@${CMAKE_FILES_DIRECTORY}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log")
FILE(REMOVE "@Slicer_BINARY_DIR@${CMAKE_FILES_DIRECTORY}/CMakeOutput.log")
FILE(REMOVE "@Slicer_BINARY_DIR@/CMakeOutput.log")
FILE(REMOVE "@Slicer_BINARY_DIR@${CMAKE_FILES_DIRECTORY}${CMAKE_FILES_DIRECTORY}/CMakeError.log")
FILE(REMOVE "@Slicer_BINARY_DIR@${CMAKE_FILES_DIRECTORY}/CMakeError.log")
FILE(REMOVE "@Slicer_BINARY_DIR@/CMakeError.log")
......@@ -406,11 +406,6 @@ IF(BUILD_TESTING)
${Slicer_SOURCE_DIR}/CTestConfig.cmake
${Slicer_BINARY_DIR}/${Slicer_INSTALL_LIB_DIR}/CTestConfig.cmake
COPYONLY)
CONFIGURE_FILE(
${Slicer_SOURCE_DIR}/CMake/RemoveTemporaryFiles.cmake.in
${Slicer_BINARY_DIR}/CMake/RemoveTemporaryFiles.cmake
@ONLY)
ENDIF()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment