[LLVMbugs] The rm command can't be running under cmd.exe

Yonggang Luo (罗勇刚) yonggangluo at hotmail.com
Wed Jan 7 10:18:25 PST 2009


-      COMMAND rm -f *${CMAKE_CXX_OUTPUT_EXTENSION}
+      COMMAND del /Q *${CMAKE_CXX_OUTPUT_EXTENSION}


because rm -f is can be running on -ix system. and msys and cygwin system.
but the problem is rm -f can't be running on windows system.

on windows operating system. only del /Q can be running?

and cmake have a solution to this problem . That's ${RM}


# The command to remove a file.
RM = D:\Tools\cmake\bin\cmake.exe -E remove -f


the cmake submit this variable to resolve this problem.
but i don't know how to use it.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20090108/3a716343/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AddPartiallyLinkedObject.cmake.diff
Type: application/octet-stream
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20090108/3a716343/attachment.obj>


More information about the llvm-bugs mailing list