View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015870 | CMake | CMake | public | 2015-12-02 17:20 | 2016-06-10 14:31 | ||||
Reporter | Bartosz | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | All | OS | Linux | OS Version | |||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015870: "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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0039942) Bartosz (reporter) 2015-12-03 03:23 |
The same situation is with command: cmake_if_different -E copy directory1 directory2 Another case is "copy_directory", when source is file. Following command neither copy file nor display error cmake_directory -E copy file directory2 Is it very painful to resolve such issues, especially with big/multiplatform projects, with multiple files to copy. |
(0039943) Bartosz (reporter) 2015-12-03 03:29 |
In my opinion "copy_directory" should copy files. Then after introducing "wildcard" support, it will be possible to copy everything from directory. For example: cmake -E copy_directory * destdirectory or cmake -E copy_directory dir1/* destdirectory |
(0042895) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-12-02 17:20 | Bartosz | New Issue | |
2015-12-03 03:23 | Bartosz | Note Added: 0039942 | |
2015-12-03 03:29 | Bartosz | Note Added: 0039943 | |
2015-12-03 08:41 | Brad King | Relationship added | related to 0015703 |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042895 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |