Skip to content

ExternalData: Add support for multiple hash algorithms

thewtex requested to merge thewtex/cmake:ExternalDataMultipleAlgo into master

Support is added for multiple hash algorithms. Projects can have

Data.txt.md5 Data.txt.sha512

where the content links hold hashes for the same file. All ExternalData_URL_TEMPLATES templates are checked, in order, for all available hashes. The data acquisition is considered a failure if none of the available URL resources has any of the given hashes. This makes it possible to have multiple data server resources where all servers do not support all hashing algorithms.

Merge request reports

Loading