[cmake-developers] [CMake 0015238]: Add timestamp in seconds starts at the Unix Epoch on January 1st, 1970 at UTC.
Mantis Bug Tracker
mantis at public.kitware.com
Sun Nov 9 04:42:11 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15238
======================================================================
Reported By: Dudi
Assigned To:
======================================================================
Project: CMake
Issue ID: 15238
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: low
Status: new
======================================================================
Date Submitted: 2014-11-09 04:42 EST
Last Modified: 2014-11-09 04:42 EST
======================================================================
Summary: Add timestamp in seconds starts at the Unix Epoch on
January 1st, 1970 at UTC.
Description:
It would be great to add this small feature, it is often used (by me) for easy
remember the compilation time (while making a build).
I propose:
string(TIMESTAMP "%e" [<format string>] [UTC])
It will return:
1415525945
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-11-09 04:42 Dudi New Issue
======================================================================
More information about the cmake-developers
mailing list