Go to the documentation of this file.
25 #ifndef __I6ENGINE_UTILS_I6ESYSTEMPARAMETERS_H__
26 #define __I6ENGINE_UTILS_I6ESYSTEMPARAMETERS_H__
28 #include "i6engine/i6engineBuildSettings.h"
31 #define ISIXE_MPLATFORM_WIN32 1
32 #define ISIXE_MPLATFORM_LINUX 2
33 #define BOOST_ALL_DYN_LINK
34 #define WIN32_LEAN_AND_MEAN
37 #if defined(WIN32) || defined(__WIN32__) || defined(_WIN32)
38 #define ISIXE_MPLATFORM ISIXE_MPLATFORM_WIN32
39 #define WIN32_LEAN_AND_MEAN
41 #define ISIXE_MPLATFORM ISIXE_MPLATFORM_LINUX
49 #define ISIXE_MODE I6E_RELEASE
51 #define ISIXE_MODE I6E_DEBUG
55 #ifndef ISIXE_UTILS_API
56 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
57 #ifdef ISIXE_BUILD_SHARED
58 #ifdef i6engine_utils_EXPORTS
59 #define ISIXE_UTILS_API __declspec(dllexport)
61 #define ISIXE_UTILS_API __declspec(dllimport)
64 #define ISIXE_UTILS_API
66 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
67 #define ISIXE_UTILS_API
69 #define ISIXE_UTILS_API
72 #ifndef ISIXE_MATH_API
73 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
74 #ifdef ISIXE_BUILD_SHARED
75 #ifdef i6engine_math_EXPORTS
76 #define ISIXE_MATH_API __declspec(dllexport)
78 #define ISIXE_MATH_API __declspec(dllimport)
81 #define ISIXE_MATH_API
83 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
84 #define ISIXE_MATH_API
86 #define ISIXE_MATH_API
89 #ifndef ISIXE_CORE_API
90 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
91 #ifdef ISIXE_BUILD_SHARED
92 #ifdef i6engine_core_EXPORTS
93 #define ISIXE_CORE_API __declspec(dllexport)
95 #define ISIXE_CORE_API __declspec(dllimport)
98 #define ISIXE_CORE_API
100 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
101 #define ISIXE_CORE_API
103 #define ISIXE_CORE_API
106 #ifndef ISIXE_MODULES_API
107 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
108 #ifdef ISIXE_BUILD_SHARED
109 #ifdef i6engine_modules_EXPORTS
110 #define ISIXE_MODULES_API __declspec(dllexport)
112 #define ISIXE_MODULES_API __declspec(dllimport)
115 #define ISIXE_MODULES_API
117 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
118 #define ISIXE_MODULES_API
120 #define ISIXE_MODULES_API
123 #ifndef ISIXE_RPG_API
124 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
125 #ifdef ISIXE_BUILD_SHARED
126 #ifdef i6engine_rpg_EXPORTS
127 #define ISIXE_RPG_API __declspec(dllexport)
129 #define ISIXE_RPG_API __declspec(dllimport)
132 #define ISIXE_RPG_API
134 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
135 #define ISIXE_RPG_API
137 #define ISIXE_RPG_API
141 #ifndef ISIXE_LUA_API
142 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
143 #define ISIXE_LUA_API __declspec(dllexport)
145 #define ISIXE_LUA_API
150 #pragma warning(disable : 4251) // dll interface to be used by clients...
153 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX