Make available build revision number in sources.

This commit is contained in:
Roman Telezhynskyi 2024-02-20 11:58:02 +02:00
parent f120519ede
commit 5f03a272d4

View File

@ -49,6 +49,10 @@ MOC_DIR = moc
# objecs files
OBJECTS_DIR = obj
DVCS_HESH=$$FindBuildRevision()
message("Build revision:" $${DVCS_HESH})
DEFINES += "BUILD_REVISION=$${DVCS_HESH}" # Make available build revision number in sources.
# Set using ccache. Function enable_ccache() defined in common.pri.
$$enable_ccache()