diff options
author | Brad King <brad.king@kitware.com> | 2017-01-27 14:04:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-27 14:04:53 (GMT) |
commit | 86ec0aca050f2568cea691a0ec965f6a95e06d2b (patch) | |
tree | d8937663f570164ccee6c2f8292c18c6787c1bf4 /Help | |
parent | fa9c12933f0fc51ee577a43b51381b4d8e4a127b (diff) | |
parent | 243aed525a2fd8e5fe32139fd0f8d0cc0e40cc33 (diff) | |
download | CMake-86ec0aca050f2568cea691a0ec965f6a95e06d2b.zip CMake-86ec0aca050f2568cea691a0ec965f6a95e06d2b.tar.gz CMake-86ec0aca050f2568cea691a0ec965f6a95e06d2b.tar.bz2 |
Merge topic 'topic-reproducible-build'
243aed52 cmTimestamp: Support SOURCE_DATE_EPOCH to override current time
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/string.rst | 6 | ||||
-rw-r--r-- | Help/release/dev/SOURCE_DATE_EPOCH.rst | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index 77538f6..2c7847a 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -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 """" diff --git a/Help/release/dev/SOURCE_DATE_EPOCH.rst b/Help/release/dev/SOURCE_DATE_EPOCH.rst new file mode 100644 index 0000000..576e1da --- /dev/null +++ b/Help/release/dev/SOURCE_DATE_EPOCH.rst @@ -0,0 +1,5 @@ +SOURCE_DATE_EPOCH +----------------- + +* The :command:`string(TIMESTAMP)` will now honor the ``SOURCE_DATE_EPOCH`` + environment variable and use its value instead of the current time. |