[cmake-developers] [CMake 0015703]: "cmake -E copy" is not working with wildcart, when full path is specified
Mantis Bug Tracker
mantis at public.kitware.com
Tue Aug 18 07:25:54 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list