1
2
3
4
5
6 #ifndef CMAJOR_RT_RT_API_INCLUDED
7 #define CMAJOR_RT_RT_API_INCLUDED
8
9 #ifdef _WIN32
10
11 #ifdef _LIB
12 #define RT_API
13 #else
14
15 #ifdef RT_EXPORTS
16 #define RT_API __declspec(dllexport)
17 #else
18 #define RT_API __declspec(dllimport)
19
20 #ifdef NDEBUG
21 #pragma comment(lib, "cmrt3100.lib")
22 #elif defined(TRACE)
23 #pragma comment(lib, "cmrt3100t.lib")
24 #else
25 #pragma comment(lib, "cmrt3100d.lib")
26 #endif
27
28 #endif
29
30 #endif
31
32 #else
33
34 #define RT_API
35
36 #endif
37
38 #endif // CMAJOR_RT_RT_API_INCLUDED