Skip to content

Commit

Permalink
Issue 737: Attempt to add some key information to peakdetector projec…
Browse files Browse the repository at this point in the history
…t for proper AppVeyor functionality.
  • Loading branch information
PMSeitzer committed Jul 9, 2024
1 parent 726ffb5 commit adfe1c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/peakdetector/peakdetector.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit adfe1c5

Please sign in to comment.