v2.0.0
Loading...
Searching...
No Matches
ml_global.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef ML_GLOBAL_H
36#define ML_GLOBAL_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include <utils/buildinfo.h>
43
44//=============================================================================================================
45// QT INCLUDES
46//=============================================================================================================
47
48#include <QtCore/qglobal.h>
49
50//=============================================================================================================
51// DEFINES
52//=============================================================================================================
53
54#if defined(STATICBUILD)
55# define MLSHARED_EXPORT
56#elif defined(MNE_ML_LIBRARY)
57# define MLSHARED_EXPORT Q_DECL_EXPORT
58#else
59# define MLSHARED_EXPORT Q_DECL_IMPORT
60#endif
61
62//=============================================================================================================
67namespace MLLIB{
68
69//=============================================================================================================
73MLSHARED_EXPORT const char* buildDateTime();
74
75//=============================================================================================================
79MLSHARED_EXPORT const char* buildHash();
80
81//=============================================================================================================
85MLSHARED_EXPORT const char* buildHashLong();
86}
87
88#endif // ML_GLOBAL_H
build information utils
#define MLSHARED_EXPORT
Definition ml_global.h:55
Machine learning (models, pipelines, ONNX Runtime integration).
MLSHARED_EXPORT const char * buildDateTime()
Definition ml_global.cpp:45
MLSHARED_EXPORT const char * buildHash()
Definition ml_global.cpp:49
MLSHARED_EXPORT const char * buildHashLong()
Definition ml_global.cpp:53