Re: [CMake] Tracking progress of CMake TAR

2018-12-17 Thread Eric Noulard
Le lun. 17 déc. 2018 à 18:00, Person Withhats a écrit : > I guess for now, anything that'll get it to work on Windows? That's the > primary platform for this. > If you give up on portability then replace cmake -E tar with an external program which has progress capability on Windows. It looks lik

Re: [CMake] Tracking progress of CMake TAR

2018-12-17 Thread Eric Noulard
Le lun. 17 déc. 2018 à 17:17, Person Withhats a écrit : > It's untarring around 1.5GB of SDK's, I don't think listing 1000's of > files is going to help. > Yes right. You need some "size extraction progress" not number of files progress. I'm not sure classical un-archive program do have the fea

Re: [CMake] Tracking progress of CMake TAR

2018-12-17 Thread Eric Noulard
I guess he is using cmake -E tar may be using 'v' verbose option from tar should be enough. i.e. cmake -E tar xvz your-archive.tar.gz It should display file names as they come out of the archive. So unless your very big archive only contains relatively big files, the output should evolve quite

Re: [CMake] Tracking progress of CMake TAR

2018-12-17 Thread Ian Cullen
Are you calling tar via a custom command?  tar itself looks to have a few options to print progress: https://www.gnu.org/software/tar/manual/html_section/tar_25.html Although none of the options seem to know the archive's size, so aren't able to print a completion percentage. On 16/12/2018

[CMake] Tracking progress of CMake TAR

2018-12-16 Thread Person Withhats
When running tar via CMake (in order to use cross-platform work-ability and what not) it'd be great to have a progress bar of any sort. It's awkward to wait 30-60 minutes for file untarring with absolutely 0 information. I'm not aware of any way to do this through CMake directly, only alternative