GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
gmCoreVersion.h
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
15#ifndef _GM_CORE_VERSION_H_
16#define _GM_CORE_VERSION_H_
17
18#include "gmCoreConfig.h"
19
20#include <QStringList>
21#include <QMap>
22
24#ifndef GM_CORE_NAME
25#define GM_CORE_NAME "GeMA"
26#endif
27
29#ifndef GM_CORE_NAME_SUFFIX
30#define GM_CORE_NAME_SUFFIX "framework"
31#endif
32
34#define GM_CORE_XNAME GM_CORE_NAME " " GM_CORE_NAME_SUFFIX
35
37#ifndef GM_CORE_COPYRIGHT
38#define GM_CORE_COPYRIGHT "2016-2024"
39#endif
40
42#define GM_CORE_VERSION (GmCoreLibVersionInfo().value("libVersion"))
43
45#define GM_CORE_REVISION_DATE (GmCoreLibVersionInfo().value("libRevisionDate"))
46
48#define GM_CORE_REVISION (GmCoreLibVersionInfo().value("libRevision"))
49
51#define GM_CORE_PACKAGE_VERSION (GmCoreLibVersionInfo().value("globalVersion"))
52
54#define GM_CORE_PACKAGE_VERSION_DATE (GmCoreLibVersionInfo().value("globalVersionDate"))
55
57#define GM_CORE_PACKAGE_REVISION (GmCoreLibVersionInfo().value("globalRevision"))
58
60#define GM_CORE_PACKAGE_REVISION_DATE (GmCoreLibVersionInfo().value("globalRevisionDate"))
61
62
63
77GMC_API_EXPORT const QMap<QString, QString>& GmCoreLibVersionInfo();
78
85GMC_API_EXPORT const QStringList& GmCoreLibRevisionDependencies();
86
87#endif
88
Declaration of useful configuration definitions for the Core library.
#define GMC_API_EXPORT
Macro for controlling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_L...
Definition gmCoreConfig.h:35