From adfe1c50a6840815b77ce96608fdfb73e0f11e92 Mon Sep 17 00:00:00 2001 From: Phillip Seitzer Date: Tue, 9 Jul 2024 15:57:42 -0700 Subject: [PATCH] Issue 737: Attempt to add some key information to peakdetector project for proper AppVeyor functionality. --- src/peakdetector/peakdetector.pro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/peakdetector/peakdetector.pro b/src/peakdetector/peakdetector.pro index 9d6e9d7d..1fb107a4 100644 --- a/src/peakdetector/peakdetector.pro +++ b/src/peakdetector/peakdetector.pro @@ -13,6 +13,7 @@ CONFIG += sql qt std++14 INSTALLS += target linux:INSTALLS += desktop +target.path = $${INSTALL_PREFIX}/bin QT += sql gui QT -= network opengl std++14 @@ -27,6 +28,14 @@ contains (DEFINES,CDFPARSER) { LIBS += -lcdfread -lnetcdf } +#add version information during compilation +VERSION = $$system("git describe --tags --always") + +DEFINES += MAVEN_VERSION=\\\"$$VERSION\\\" +DEFINES += "PLATFORM=\"$$QMAKE_HOST.os\"" + +message("Peakdetector Version is:") +message($$VERSION) #BUILD OPENMP PARALLEL VERSION