From 2ef4023b769458230a74cbb0ebdec1b8ba7ebb81 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 25 Oct 2015 21:53:42 -0400 Subject: [PATCH] qmake cleanup git version --- QGCCommon.pri | 1 + qgroundcontrol.pro | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/QGCCommon.pri b/QGCCommon.pri index 975040af3..f67098d4b 100644 --- a/QGCCommon.pri +++ b/QGCCommon.pri @@ -73,6 +73,7 @@ MobileBuild { exists ($$PWD/.git) { GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags) + message(QGroundControl version $${GIT_DESCRIBE}) } else { GIT_DESCRIBE = None } diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index ba89c959f..6928aadf9 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -30,6 +30,3 @@ message(Qt version $$[QT_VERSION]) error("Unsupported Qt version, 5.4+ is required") } -message(QGroundControl version $${GIT_DESCRIBE}) -git_ver.commands = $$QGC_GIT_VER -QMAKE_EXTRA_TARGETS += git_ver -- 2.22.0