-      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.



Attachment: AddPartiallyLinkedObject.cmake.diff
Description: Binary data

_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to