Calculate hashes for any referenced assets that do not already have one.
authorCarl Hetherington <cth@carlh.net>
Tue, 24 Nov 2020 00:29:11 +0000 (01:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Nov 2020 00:49:33 +0000 (01:49 +0100)
commit4bee9f40969db94aa7edc7816e1b12a7db3cab07
tree81548723ac4e6c7a043e5e139b50f98673251f6c
parent6e5dec71bf4e7a5ff81ecc115c04e8ec2b540c67
Calculate hashes for any referenced assets that do not already have one.

This is necessary so that we always include <Hash> in CPLs even
when referencing DCPs that do not have it.
cscript
src/lib/writer.cc
src/lib/writer.h
test/cpl_hash_test.cc [new file with mode: 0644]
test/wscript