v2.0.0
Loading...
Searching...
No Matches
ml_global.h
Go to the documentation of this file.
1//=============================================================================================================
27
28#ifndef ML_GLOBAL_H
29#define ML_GLOBAL_H
30
31//=============================================================================================================
32// INCLUDES
33//=============================================================================================================
34
35#include <utils/buildinfo.h>
36
37//=============================================================================================================
38// QT INCLUDES
39//=============================================================================================================
40
41#include <QtCore/qglobal.h>
42
43//=============================================================================================================
44// DEFINES
45//=============================================================================================================
46
47#if defined(STATICBUILD)
48#define MLSHARED_EXPORT
49#elif defined(MNE_ML_LIBRARY)
50#define MLSHARED_EXPORT Q_DECL_EXPORT
51#else
52#define MLSHARED_EXPORT Q_DECL_IMPORT
53#endif
54
55//=============================================================================================================
60namespace MLLIB
61{
62
63//=============================================================================================================
69MLSHARED_EXPORT const char* buildDateTime();
70
71//=============================================================================================================
77MLSHARED_EXPORT const char* buildHash();
78
79//=============================================================================================================
85MLSHARED_EXPORT const char* buildHashLong();
86}
87
88#endif // ML_GLOBAL_H
#define MLSHARED_EXPORT
Definition ml_global.h:48
Compile-time helpers that capture the build date, time and git commit hash into the binary.
Tensors, model abstraction, ONNX Runtime inference and Python training drivers used across mne-cpp.
MLSHARED_EXPORT const char * buildDateTime()
Definition ml_global.cpp:30
MLSHARED_EXPORT const char * buildHash()
Definition ml_global.cpp:37
MLSHARED_EXPORT const char * buildHashLong()
Definition ml_global.cpp:44