2007-07-25 20:21:06 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 by Dominik Riebeling
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2007-07-25 20:21:06 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2021-12-25 12:02:05 +00:00
|
|
|
#include "gitversion.h"
|
|
|
|
|
2008-07-07 21:40:44 +00:00
|
|
|
// PUREVERSION is needed to be able to just compare versions. It does not
|
|
|
|
// contain a build timestamp because it needs to be the same in different
|
|
|
|
// files
|
2008-08-30 20:51:50 +00:00
|
|
|
// VERSION is the plain version number, used for http User-Agent string.
|
2012-09-02 18:19:23 +00:00
|
|
|
// It is concatenated from separate digits to allow reusing for the Windows
|
|
|
|
// resource information
|
2011-05-05 17:19:00 +00:00
|
|
|
// BUILDID is an additional build string to handle package updates (i.e.
|
|
|
|
// rebuilds because of issues like dependency problems or library updates).
|
|
|
|
// Usually empty.
|
2011-05-04 22:18:34 +00:00
|
|
|
#define BUILDID ""
|
2012-07-01 17:06:34 +00:00
|
|
|
// Version string is constructed from parts, since the Windows rc file needs it
|
|
|
|
// combined differently.
|
|
|
|
#define VERSION_MAJOR 1
|
2022-03-27 18:46:54 +00:00
|
|
|
#define VERSION_MINOR 5
|
2022-04-18 19:02:12 +00:00
|
|
|
#define VERSION_MICRO 1
|
2012-07-01 17:06:34 +00:00
|
|
|
#define VERSION_PATCH 0
|
|
|
|
#define STR(x) #x
|
|
|
|
#define VERSIONSTRING(a, b, c) STR(a) "." STR(b) "." STR(c)
|
|
|
|
#define VERSION VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO) BUILDID
|
2012-02-05 21:06:30 +00:00
|
|
|
// PUREVERSION should identify the build uniquely. Use version string for now.
|
2021-12-25 12:02:05 +00:00
|
|
|
#define PUREVERSION GITHASH
|
2008-08-30 20:51:50 +00:00
|
|
|
|
2021-12-25 12:02:05 +00:00
|
|
|
#define FULLVERSION VERSION " (" GITHASH "), built " __DATE__ " " __TIME__
|
2008-08-30 20:51:50 +00:00
|
|
|
|