[CMake] cmake -E remove -f
Mark Ferry
mark at cognomen.co.uk
Wed Apr 5 19:22:52 EDT 2017
Hi Craig
On Thu, 06 Apr 2017 08:55:58 +1000, Craig Scott wrote:
> Can anyone identify a scenario where the -f option to the CMake command
> mode's "remove" command makes any difference?
>
How about removing directories:
~/src/cmake-test$ cmake --version
cmake version 3.0.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
~/src/cmake-test$ mkdir foo
~/src/cmake-test$ cmake -E remove foo
~/src/cmake-test$ echo $?
1
~/src/cmake-test$ cmake -E remove -f foo
~/src/cmake-test$ echo $?
0
--
Cognomen Ltd
http://cognomen.co.uk
+44 7855 790184
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170406/d28325b1/attachment.sig>
More information about the CMake
mailing list