MNE-CPP  beta 1.0
utils_global.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef UTILS_GLOBAL_H
37 #define UTILS_GLOBAL_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include <QtCore/qglobal.h>
45 
46 
47 //*************************************************************************************************************
48 //=============================================================================================================
49 // DEFINES
50 //=============================================================================================================
51 
52 #if defined(BUILD_MNECPP_STATIC_LIB)
53 # define UTILSSHARED_EXPORT
54 #elif defined(UTILS_LIBRARY)
55 # define UTILSSHARED_EXPORT Q_DECL_EXPORT
56 #else
57 # define UTILSSHARED_EXPORT Q_DECL_IMPORT
58 #endif
59 
60 //#if defined(UTILS_LIBRARY)
61 //# define UTILSSHARED_EXPORT Q_DECL_EXPORT /**< Q_DECL_EXPORT must be added to the declarations of symbols used when compiling a shared library. */
62 //#else
63 //# define UTILSSHARED_EXPORT Q_DECL_IMPORT /**< Q_DECL_IMPORT must be added to the declarations of symbols used when compiling a client that uses the shared library. */
64 //#endif
65 
66 #endif // MNEUTILS_GLOBAL_H