author | morasa@smirgeline.hut.fi |
Fri, 11 Sep 2009 16:45:04 +0300 | |
branch | new-physics |
changeset 447 | fc9e4305fddf |
parent 397 | 13fa0546ef87 |
permissions | -rw-r--r-- |
# # Function to get current timestamp. # # Sets PROJECT_BUILD_TIMESTAMP var # function (FindBuildTimestamp) EXECUTE_PROCESS ( COMMAND date --rfc-2822 OUTPUT_VARIABLE timestamp_now OUTPUT_STRIP_TRAILING_WHITESPACE ) SET (PROJECT_BUILD_TIMESTAMP "${timestamp_now}" PARENT_SCOPE) endfunction (FindBuildTimestamp)