[cmake-developers] [CMake 0016001]: "cmake -E copy_directory" do not display error when directory to copy is not exists

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 2 08:58:43 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=16001 
====================================================================== 
Reported By:                Bartosz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16001
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-03-02 08:58 EST
Last Modified:              2016-03-02 08:58 EST
====================================================================== 
Summary:                    "cmake -E copy_directory" do not display error when
directory to copy is not exists
Description: 
"cmake -E copy_directory" do not display error when directory to copy is not
exists

Steps to Reproduce: 
Run Command and make sure that "dupa" directory is not exists:
  cmake -E copy_directory dupa target

Currently:
  The copy_directory command will silently ignore, that "dupa" directory is not
exists. Directory "target" will be created if not exists.

Expected:

Currently:
  The copy_directory command should display error, that "dupa" directory is not
exists. Directory "target" will be created if not exists.

Additional Information: 
Confirmed on Cmake 3.5.0rc3
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-02 08:58 Bartosz        New Issue                                    
======================================================================



More information about the cmake-developers mailing list