[cmake-developers] [patch] One more pattern for extracting file name from URL
Ruslan Baratov
ruslan_baratov at yahoo.com
Tue Jul 5 09:26:54 EDT 2016
Got another idea. We can use default name like 'archive.tar'. Seems that
internal type of archive determined automatically and doesn't depends on
the filename. I've tried one example for each extension: 7z, tar.bz2,
tar.gz, tar.xz, tbz2, tgz, txz, zip and it just works. Patch attached.
Ruslo
On 01-Jul-16 15:01, Ruslan Baratov via cmake-developers wrote:
> Hi,
>
> With attached patch it's possible to extract name from URLs like
> 'https://.../archive.tar.gz?a=x&b=y'.
>
> Ruslo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-default-filename-if-extracting-from-URL-failed.patch
Type: text/x-patch
Size: 1213 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160705/a8f68158/attachment.bin>
More information about the cmake-developers
mailing list