Commit 2ef4023b authored by Daniel Agar's avatar Daniel Agar

qmake cleanup git version

parent 4ad29754
...@@ -73,6 +73,7 @@ MobileBuild { ...@@ -73,6 +73,7 @@ MobileBuild {
exists ($$PWD/.git) { exists ($$PWD/.git) {
GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags) GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
message(QGroundControl version $${GIT_DESCRIBE})
} else { } else {
GIT_DESCRIBE = None GIT_DESCRIBE = None
} }
......
...@@ -30,6 +30,3 @@ message(Qt version $$[QT_VERSION]) ...@@ -30,6 +30,3 @@ message(Qt version $$[QT_VERSION])
error("Unsupported Qt version, 5.4+ is required") error("Unsupported Qt version, 5.4+ is required")
} }
message(QGroundControl version $${GIT_DESCRIBE})
git_ver.commands = $$QGC_GIT_VER
QMAKE_EXTRA_TARGETS += git_ver
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment