From 5f03a272d4d81eeb07635f0abfe0292f2cad18e8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Feb 2024 11:58:02 +0200 Subject: [PATCH] Make available build revision number in sources. --- src/libs/vganalytics/vganalytics.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/vganalytics/vganalytics.pro b/src/libs/vganalytics/vganalytics.pro index aae58e80e..40df5c8b1 100644 --- a/src/libs/vganalytics/vganalytics.pro +++ b/src/libs/vganalytics/vganalytics.pro @@ -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()