mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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.
4 lines
127 B
CMake
4 lines
127 B
CMake
set(ENV{SOURCE_DATE_EPOCH} "123trailing-garbage")
|
|
string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S" UTC)
|
|
message("RESULT=${RESULT}")
|