mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
cmTimestamp: Support SOURCE_DATE_EPOCH to override current time
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 commit is contained in:
committed by
Brad King
parent
a007f15344
commit
243aed525a
@@ -329,6 +329,12 @@ If no explicit ``<format string>`` is given it will default to:
|
||||
|
||||
Write a string which can be used as an identifier in C.
|
||||
|
||||
.. note::
|
||||
|
||||
If the ``SOURCE_DATE_EPOCH`` environment variable is set,
|
||||
its value will be used instead of the current time.
|
||||
See https://reproducible-builds.org/specs/source-date-epoch/ for details.
|
||||
|
||||
UUID
|
||||
""""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user