summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-11-15 14:57:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-15 14:57:56 (GMT)
commit5695b0464b411746b207da2ee23b8e2d9f8ffec2 (patch)
tree82e1a00666f6e8a026b7af578801b9b38d8e04ce /Tests/CMakeTestMultipleConfigures/RunCMake.cmake
parent1d78e1a966912d35e1dea0e986bc0b977141e880 (diff)
parent2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (diff)
downloadCMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.zip
CMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.tar.gz
CMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.tar.bz2
Merge topic 'cmake-e-rm'
2d0100fac7 replace remove and remove_directory with rm in tests 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3949
Diffstat (limited to 'Tests/CMakeTestMultipleConfigures/RunCMake.cmake')
-rw-r--r--Tests/CMakeTestMultipleConfigures/RunCMake.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeTestMultipleConfigures/RunCMake.cmake b/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
index 9632664..a79bfcb 100644
--- a/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
+++ b/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
@@ -21,11 +21,11 @@ set(N 7)
# First setup source and binary trees:
#
-execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory
+execute_process(COMMAND ${CMAKE_COMMAND} -E rm -rf
${dir}/Source
)
-execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory
+execute_process(COMMAND ${CMAKE_COMMAND} -E rm -rf
${dir}/Build
)
@@ -69,7 +69,7 @@ foreach(i RANGE 1 ${N})
# Save this iteration of the Build directory:
#
- execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory
+ execute_process(COMMAND ${CMAKE_COMMAND} -E rm -rf
${dir}/b${i}
)
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory