build: versioning
versioning via git tags, commits after tags are displayed in the versionnumber
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <QMessageBox>
|
||||
#include <QSettings>
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#include "component/view/View.h"
|
||||
#include "component/view/CompositeView.h"
|
||||
#include "qt/view/QtViewWidgetWrapper.h"
|
||||
@@ -147,6 +149,10 @@ void QtMainWindow::about()
|
||||
"Malte Langkabel\n"
|
||||
"Victoria Pfausler\n"
|
||||
"Andreas Stallinger\n"
|
||||
"\nVersion: " GIT_VERSION_NUMBER
|
||||
"\nBranch: " GIT_BRANCH
|
||||
"\nBuildtype: " BUILD_TYPE
|
||||
"\nDate: " GIT_COMMIT_TIME
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#define GIT_BRANCH "@GIT_BRANCH@"
|
||||
#define GIT_VERSION_NUMBER "@GIT_VERSION_NUMBER@"
|
||||
#define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@"
|
||||
#define GIT_COMMIT_TIME "@GIT_COMMIT_TIME@"
|
||||
Reference in New Issue
Block a user