make build reproducible
authorBernhard M. Wiedemann <githubbmw@lsmod.de>
Sun, 22 Jan 2017 16:54:24 +0000 (16:54 +0000)
committerArmin Novak <armin.novak@thincast.com>
Mon, 23 Jan 2017 08:52:13 +0000 (09:52 +0100)
commit3606a42c525b7f04fec4f6d2b814ac6af30c49c0
tree87291631732f5832be20ab81d7d8d93c54e7b1c9
parent14d076735e09b418176b7b201a5fbe697e65c18c
make build reproducible

by allowing build systems to use a constant date instead of the current one
see https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable

This call is designed to work with GNU date. If BSD support is a concern, it can be added.
cmake/today.cmake