[CMake] How to get the system date in a CMake Script ?
Filipe Sousa
filipe at ipb.pt
Fri Jun 16 05:13:39 EDT 2006
On Friday 16 June 2006 09:49, Sylvain Benner wrote:
> Is there a simple way to get the system date in a CMake script ?
>
> Thank you,
> Sylvain
The only way is calling an external program through EXECUTE_PROCESS. Under
Unix you have /usr/bin/date.
--
Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060616/e26ad3b5/attachment.pgp
More information about the CMake
mailing list