The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15703 ====================================================================== Reported By: gang65 Assigned To: ====================================================================== Project: CMake Issue ID: 15703 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-08-18 07:25 EDT Last Modified: 2015-08-18 07:25 EDT ====================================================================== Summary: "cmake -E copy" is not working with wildcart, when full path is specified Description: The copy operation is not support wildcart (star "*") when the full path is specified. But it is working correctly with "remove. "cmake -E remove" is not consistent with "cmake -E copy".
With using cmake shell comamnd you could add star to whole path: cmake -E remove /Users/warsaw/cos/*.h But it is not possible to make similar operation with "-E copy": cmake -E copy /Users/warsaw/cos/*.h .. displays "CMakre Error" But: cmake -E copy *.h .. or: cmake -E copy /Users/warsaw/cos/file.h .. is working correctly. Steps to Reproduce: 1. mkdir /Users/warsaw/cos/ 2. cd /Users/warsaw/cos/ 3. touch file.h 4. cmake -E copy /Users/warsaw/cos/*.h .. displays "CMakre Error" Working correctly: cmake -E copy *.h .. cmake -E copy /Users/warsaw/cos/file.h .. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-08-18 07:25 gang65 New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers