[cmake-developers] patch for cmake that adds a new timestamp command

Nils Gladitz gladitz at sci-vis.de
Thu Sep 27 07:25:09 EDT 2012


I've tried creating a patch (attached; should apply to master) that adds 
a timestamp creation command.
It builds on strftime but only allows a limited number of conversion 
specifiers.
I tried to only allow those which are portable (C89), locale independent 
and of fixed range and length (with the exception of "%Y").

Nils

-- 
Nils Gladitz, B.Sc.
DICOM, Konnektivität und Entwicklung

Scivis wissenschaftliche Bildverarbeitung GmbH
Bertha-von-Suttner-Str. 5
D-37085 Göttingen
GERMANY
Handelsregister Nr. / Trade Register No. B3100 Göttingen
Geschäftsführer / Managing Directors Dr. Gernot Ebel, Dr. Uwe Engeland

Tel: 0049 (0)551 634181-28
E-Mail: gladitz at scivis.de
Web: www.scivis.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-new-timestamp-command.patch
Type: text/x-patch
Size: 11896 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120927/1b76e9c8/attachment-0001.bin>


More information about the cmake-developers mailing list