1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-01 22:25:26 +02:00
jami-client-qt/extras/build/cmake/time_stamp_create.cmake
Amin Bandali 2fc8661d08 misc: Clean up repository root.
This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.

GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
2022-10-07 17:30:06 -04:00

8 lines
No EOL
267 B
CMake

execute_process(COMMAND git rev-parse HEAD
OUTPUT_VARIABLE VERSION_PATCH)
if (EXISTS ${TIME_STAMP_FILE})
message("Keep the old time stamp")
else()
message("Creating time stamp ...")
file(WRITE ${TIME_STAMP_FILE} "${VERSION_PATCH}")
endif()