View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011433 | CMake | CMake | public | 2010-11-10 06:16 | 2010-12-08 08:20 | ||||
Reporter | Rolf Eike Beer | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0011433: Add download command to CMake command mode | ||||||||
Description | I often come to system where a trivial download from command line is not possible (like Windows, QNX) without installing additional software. Since CMake has the capability to download stuff anyway I would like to see something like cmake -E download http://url [^] [ftp://url [^]] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0023127) Eric NOULARD (developer) 2010-11-10 06:56 |
Hi Rolf, You can already do that with a small CMake script with the file(DOWNLOAD url file [TIMEOUT timeout] [STATUS status] [LOG log]) command and cmake -P dlscript.cmake that said if DOWNLOAD was to be added to -E command then UPLOAD should be added too file(UPLOAD file url TIMEOUT timeout] [STATUS status] [LOG log]) should be added as well but I think there is a bug report about that I'll check and link those two. |
(0023129) David Cole (manager) 2010-11-10 07:47 |
How about (shell escaping left to the actual user on an actual system he cares about): echo file(DOWNLOAD http://www.site.com?file=blah.txt [^] blah.txt) >/tmp/download.cmake && cmake -P /tmp/download.cmake Or a bash/cmd script that does the equivalent? Do we really need a bunch of new argument parsing code for the command line interpreter when we've already got it built into the file command? |
(0023792) David Cole (manager) 2010-12-08 08:20 |
This would add unnecessary complexity for very little benefit. We're not going to add -E download to cmake. See other notes for details. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-10 06:16 | Rolf Eike Beer | New Issue | |
2010-11-10 06:56 | Eric NOULARD | Note Added: 0023127 | |
2010-11-10 06:57 | Eric NOULARD | Relationship added | related to 0011286 |
2010-11-10 07:47 | David Cole | Note Added: 0023129 | |
2010-12-08 08:20 | David Cole | Note Added: 0023792 | |
2010-12-08 08:20 | David Cole | Status | new => closed |
2010-12-08 08:20 | David Cole | Resolution | open => won't fix |
2010-12-08 08:20 | David Cole | Fixed in Version | => CMake 2.8.4 |
2010-12-08 08:20 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |