Re: [CMake] FetchContent/ExternalProject and URL_HASH

2019-07-22 Thread fdk17
On Mon, Jul 22, 2019, at 11:51 AM, Dustyn Blasig wrote: > *"I don't think it is realistic to expect CMake or the underlying tools to > still give you a successful file download if you interrupt it. ;)"* > > Sorry, I didn't word that well : ) > > I was curious if CMake uses handlers behind the

Re: [CMake] FetchContent/ExternalProject and URL_HASH

2019-07-22 Thread Dustyn Blasig
*"I don't think it is realistic to expect CMake or the underlying tools to still give you a successful file download if you interrupt it. ;)"* Sorry, I didn't word that well : ) I was curious if CMake uses handlers behind the scenes similar to GNU Make such that if a signal occurs it will cleanup

Re: [CMake] FetchContent/ExternalProject and URL_HASH

2019-07-22 Thread Craig Scott
On Mon, Jul 22, 2019 at 10:37 AM Dustyn Blasig wrote: > Thanks for the info, Craig. > > I'm not very familiar with the intricacies of network downloads. If the > download itself guarantees the file was transferred correctly and the > checksum is only be used to verify its authenticity, then we pr

Re: [CMake] FetchContent/ExternalProject and URL_HASH

2019-07-21 Thread Dustyn Blasig
Thanks for the info, Craig. I'm not very familiar with the intricacies of network downloads. If the download itself guarantees the file was transferred correctly and the checksum is only be used to verify its authenticity, then we probably don't need it as we're only downloading these artifacts fr

Re: [CMake] FetchContent/ExternalProject and URL_HASH

2019-07-21 Thread Craig Scott
On Wed, Jul 17, 2019 at 12:59 PM Dustyn Blasig wrote: > Hi All, > > We are pulling some artifacts from Artifactory which provides a checksum > file along with the artifacts at .md5 or .sha256. If I do not > include URL_HASH, does CMake automatically check to see if such a checksum > file exists a

[CMake] FetchContent/ExternalProject and URL_HASH

2019-07-16 Thread Dustyn Blasig
Hi All, We are pulling some artifacts from Artifactory which provides a checksum file along with the artifacts at .md5 or .sha256. If I do not include URL_HASH, does CMake automatically check to see if such a checksum file exists and use it's value for the hash check? Or is there a way to provide