v2.0.0
Loading...
Searching...
No Matches
mna_global.h
Go to the documentation of this file.
1//=============================================================================================================
26
27#ifndef MNA_GLOBAL_H
28#define MNA_GLOBAL_H
29
30//=============================================================================================================
31// INCLUDES
32//=============================================================================================================
33
34#include <utils/buildinfo.h>
35
36//=============================================================================================================
37// QT INCLUDES
38//=============================================================================================================
39
40#include <QtCore/qglobal.h>
41
42//=============================================================================================================
43// DEFINES
44//=============================================================================================================
45
46#if defined(STATICBUILD)
47#define MNASHARED_EXPORT
48#elif defined(MNE_MNA_LIBRARY)
49#define MNASHARED_EXPORT Q_DECL_EXPORT
50#else
51#define MNASHARED_EXPORT Q_DECL_IMPORT
52#endif
53
54//=============================================================================================================
59namespace MNALIB
60{
61
62//=============================================================================================================
69
70//=============================================================================================================
76MNASHARED_EXPORT const char* buildHash();
77
78//=============================================================================================================
85}
86
87#endif // MNA_GLOBAL_H
Compile-time helpers that capture the build date, time and git commit hash into the binary.
#define MNASHARED_EXPORT
Definition mna_global.h:47
MNE Analysis Container Format (mna/mnx).
MNASHARED_EXPORT const char * buildHash()
MNASHARED_EXPORT const char * buildHashLong()
MNASHARED_EXPORT const char * buildDateTime()