[CMake] How to get the current date

ycollette.nospam at free.fr ycollette.nospam at free.fr
Fri Nov 26 06:29:16 EST 2010


Hello,

Is it possible in a CMakeLists.txt file to get the current date (under linux and windows) ?
I would like to store this date in a cmake variable so as to write it in a .h file.

YC


More information about the CMake mailing list