Add qmake output for GIT_DESCRIBE

This commit is contained in:
woblight
2018-07-16 23:21:12 +02:00
parent 81deab9a7e
commit c4d0d41d9d
+5
View File
@@ -41,6 +41,11 @@ win32 {
}
GIT_DESCRIBE = $$system(git describe --tags)
isEmpty(GIT_DESCRIBE){
message("WARNING: empty git describe")
} else {
message("Git describe: $$GIT_DESCRIBE")
}
DEFINES += GIT_DESCRIBE=\\\"$$GIT_DESCRIBE\\\"