[cmake-developers] [CMake 0015870]: "cmake -E copy" command do not display error if source is directory

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 2 17:20:38 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15870 
====================================================================== 
Reported By:                gang65
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15870
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-12-02 17:20 EST
Last Modified:              2015-12-02 17:20 EST
====================================================================== 
Summary:                    "cmake -E copy" command do not display error if
source is directory
Description: 
In current cmake implementation, by command:
 "cmake -E copy directory1 directory2"

Do not copy anything and do not displays errors.

Expected:
cmake should display error message that directory "directory1" was not copied.
It could be guarded by new Cmake policy

Steps to Reproduce: 
mkdir directory1 
mkdir directory2
cmake -E copy directory1 directory2
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-12-02 17:20 gang65         New Issue                                    
======================================================================



More information about the cmake-developers mailing list