2011-11-24 19:38:12 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) by Klaas Freitag <freitag@kde.org>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
2011-11-28 17:53:34 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VERSION_H
|
2011-11-24 19:38:12 +04:00
|
|
|
#define VERSION_H
|
|
|
|
|
2012-02-21 13:48:18 +04:00
|
|
|
#define MIRALL_STRINGIFY(s) MIRALL_TOSTRING(s)
|
|
|
|
#define MIRALL_TOSTRING(s) #s
|
|
|
|
|
|
|
|
/* MIRALL version macros */
|
2013-12-09 19:35:30 +04:00
|
|
|
#define MIRALL_VERSION_INT_(a, b, c, d) ((a) << 24 | (b) << 16 | (c << 8) | (d))
|
2012-02-21 13:48:18 +04:00
|
|
|
|
|
|
|
/* MIRALL version */
|
2013-12-09 19:35:30 +04:00
|
|
|
#define MIRALL_VERSION_MAJOR @MIRALL_VERSION_MAJOR@
|
|
|
|
#define MIRALL_VERSION_MINOR @MIRALL_VERSION_MINOR@
|
|
|
|
#define MIRALL_VERSION_PATCH @MIRALL_VERSION_PATCH@
|
|
|
|
#define MIRALL_VERSION_BUILD @MIRALL_VERSION_BUILD@
|
|
|
|
|
|
|
|
#define MIRALL_VERSION @MIRALL_VERSION@
|
|
|
|
#define MIRALL_VERSION_FULL @MIRALL_VERSION_FULL@
|
|
|
|
|
|
|
|
#define MIRALL_VERSION_STRING "@MIRALL_VERSION_STRING@"
|
2012-02-21 13:48:18 +04:00
|
|
|
|
|
|
|
#define MIRALL_VERSION_INT MIRALL_VERSION_INT_(MIRALL_VERSION_MAJOR, \
|
|
|
|
MIRALL_VERSION_MINOR, \
|
2013-12-09 19:35:30 +04:00
|
|
|
MIRALL_VERSION_PATCH, \
|
|
|
|
MIRALL_VERSION_BUILD)
|
2011-11-24 19:38:12 +04:00
|
|
|
|
|
|
|
#endif // VERSION_H
|