diff options
author | Johnny Jazeix <jazeix@gmail.com> | 2019-11-13 21:24:12 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-13 23:02:18 (GMT) |
commit | 5239fc5c753502e91a1ea6859842d7fc24a36253 (patch) | |
tree | cd4aceba4c5bcccce2d7f5fe298f21134e5fda77 /Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake | |
parent | 449fceeb1fd9619d9b01f8aed0e9e5784e10dacb (diff) | |
download | CMake-5239fc5c753502e91a1ea6859842d7fc24a36253.zip CMake-5239fc5c753502e91a1ea6859842d7fc24a36253.tar.gz CMake-5239fc5c753502e91a1ea6859842d7fc24a36253.tar.bz2 |
cmake -E: Add rm with improved semantics over remove and remove_directory
Diffstat (limited to 'Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake')
-rw-r--r-- | Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake b/Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake new file mode 100644 index 0000000..a0a9b20 --- /dev/null +++ b/Tests/RunCMake/CommandLine/E_rm_file_link_existing-check.cmake @@ -0,0 +1,3 @@ +if(NOT EXISTS ${out}/existing.txt) + set(RunCMake_TEST_FAILED "${out}/existing.txt should exist (we only removed the link)") +endif() |