v2.0.0
Loading...
Searching...
No Matches
utils_global.h
Go to the documentation of this file.
1//=============================================================================================================
32
33#ifndef UTILS_GLOBAL_H
34#define UTILS_GLOBAL_H
35
36#include "buildinfo.h"
37
38//=============================================================================================================
39// QT INCLUDES
40//=============================================================================================================
41
42#include <QtCore/qglobal.h>
43
44//=============================================================================================================
45// DEFINES
46//=============================================================================================================
47
48#if defined(STATICBUILD)
49#define UTILSSHARED_EXPORT
50#elif defined(MNE_UTILS_LIBRARY)
51#define UTILSSHARED_EXPORT Q_DECL_EXPORT
52#else
53#define UTILSSHARED_EXPORT Q_DECL_IMPORT
54#endif
55
56//=============================================================================================================
61namespace UTILSLIB
62{
63
64//=============================================================================================================
71
72//=============================================================================================================
78UTILSSHARED_EXPORT const char* buildHash();
79
80//=============================================================================================================
87}
88
89#endif // MNEUTILS_GLOBAL_H
Compile-time helpers that capture the build date, time and git commit hash into the binary.
#define UTILSSHARED_EXPORT
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
const char * buildHash()
const char * buildDateTime()
const char * buildHashLong()