mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-10 02:25:26 +02:00

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
13 lines
No EOL
418 B
CMake
13 lines
No EOL
418 B
CMake
execute_process(COMMAND git rev-parse HEAD
|
|
OUTPUT_VARIABLE VERSION_PATCH)
|
|
|
|
# remove leading and trailing spaces
|
|
string(STRIP "${VERSION_PATCH}" VERSION_PATCH)
|
|
|
|
message("Checking time stamp ...")
|
|
if(EXISTS ${TIME_STAMP_FILE})
|
|
file (STRINGS ${TIME_STAMP_FILE} VERSION_IN_FILE)
|
|
if(NOT "${VERSION_IN_FILE}" STREQUAL "${VERSION_PATCH}")
|
|
file (REMOVE "${TIME_STAMP_FILE}")
|
|
endif()
|
|
endif() |