[CMake] Feature request: date command

Daniel Pfeifer daniel at pfeifer-mail.de
Wed Feb 2 08:25:30 EST 2011


 Hi,

 There are a few places where I want to put the current date in 
 generated files. There is a 'date' command in Windows, in OSX and in 
 Linux. However, all three commands take different parameters to format 
 the output, so they cannot be uses in a portable manner. What I would 
 like to use is something like '${CMAKE_COMMAND} -E date -R'.

 Would it be possible to integrate this in CMake? Or is this out of the 
 scope?

 cheers, Daniel



More information about the CMake mailing list