[Cmake] Getting the current time

Dekeyser, Kris Kris.Dekeyser at lms.be
Wed Sep 8 10:33:37 EDT 2004


Is there a way to get hold of the current time in CMake ? I'm trying to use
CONFIGURE_FILE to create a resource file for MSDev 6 DLL targets with CMake.
I'd like to burn the targets with the host name and time of the build.
SITE_NAME covers my first need, but I'm still looking for the second one.
Has anyone yet created a custom command for this?
 
- Kris
+-+-+- Email Confidentiality Footer +-+-+- 
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not print, retain, copy nor
disseminate this message or any part of it to anyone and you should notify
the sender by reply email and destroy this message. Neglecting this clause
could be a breach of confidence. Please advise immediately if you or your
employer does not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that are not
related to the official business of my firm shall be understood as neither
given nor endorsed by it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20040908/04b56b4e/attachment.html


More information about the Cmake mailing list