47 #ifndef INCLUDED_AI_DEFINES_H 48 #define INCLUDED_AI_DEFINES_H 71 #ifndef ASSIMP_BUILD_NO_COMPRESSED_X 72 # define ASSIMP_BUILD_NEED_Z_INFLATE 75 #ifndef ASSIMP_BUILD_NO_COMPRESSED_BLEND 76 # define ASSIMP_BUILD_NEED_Z_INFLATE 79 #ifndef ASSIMP_BUILD_NO_COMPRESSED_IFC 80 # define ASSIMP_BUILD_NEED_Z_INFLATE 81 # define ASSIMP_BUILD_NEED_UNZIP 84 #ifndef ASSIMP_BUILD_NO_Q3BSP_IMPORTER 85 # define ASSIMP_BUILD_NEED_Z_INFLATE 86 # define ASSIMP_BUILD_NEED_UNZIP 127 # ifdef ASSIMP_BUILD_DLL_EXPORT 128 # define ASSIMP_API __declspec(dllexport) 129 # define ASSIMP_API_WINONLY __declspec(dllexport) 130 # pragma warning (disable : 4251) 136 # elif (defined ASSIMP_DLL) 137 # define ASSIMP_API __declspec(dllimport) 138 # define ASSIMP_API_WINONLY __declspec(dllimport) 141 # define ASSIMP_API_WINONLY 146 # define AI_FORCE_INLINE __forceinline 150 # define AI_WONT_RETURN __declspec(noreturn) 158 # define AI_WONT_RETURN 160 # define ASSIMP_API __attribute__ ((visibility("default"))) 161 # define ASSIMP_API_WINONLY 162 # define AI_FORCE_INLINE inline 163 #endif // (defined _MSC_VER) 166 # define AI_WONT_RETURN_SUFFIX __attribute__((analyzer_noreturn)) 168 # define AI_WONT_RETURN_SUFFIX 169 #endif // (defined __clang__) 184 ENABLE_PREPROCESSING = YES
185 MACRO_EXPANSION = YES
186 EXPAND_ONLY_PREDEF = YES
187 SEARCH_INCLUDES = YES
189 INCLUDE_FILE_PATTERNS =
190 PREDEFINED = ASSIMP_DOXYGEN_BUILD=1
191 EXPAND_AS_DEFINED = C_STRUCT C_ENUM
192 SKIP_FUNCTION_MACROS = YES
200 # if (defined ASSIMP_DOXYGEN_BUILD) 204 # define C_STRUCT struct 209 #if (defined(__BORLANDC__) || defined (__BCPLUSPLUS__)) 210 #error Currently, Borland is unsupported. Feel free to port Assimp. 222 #ifdef ASSIMP_BUILD_BOOST_WORKAROUND 225 #ifndef ASSIMP_BUILD_SINGLETHREADED 226 # define ASSIMP_BUILD_SINGLETHREADED 229 #endif // !! ASSIMP_BUILD_BOOST_WORKAROUND 237 #ifndef ASSIMP_BUILD_SINGLETHREADED 238 # define ASSIMP_BUILD_SINGLETHREADED 241 #if defined(_DEBUG) || ! defined(NDEBUG) 242 # define ASSIMP_BUILD_DEBUG 250 #define AI_MATH_PI (3.141592653589793238462643383279 ) 251 #define AI_MATH_TWO_PI (AI_MATH_PI * 2.0) 252 #define AI_MATH_HALF_PI (AI_MATH_PI * 0.5) 255 #define AI_MATH_PI_F (3.1415926538f) 256 #define AI_MATH_TWO_PI_F (AI_MATH_PI_F * 2.0f) 257 #define AI_MATH_HALF_PI_F (AI_MATH_PI_F * 0.5f) 260 #define AI_DEG_TO_RAD(x) (x*0.0174532925f) 261 #define AI_RAD_TO_DEG(x) (x*57.2957795f) 264 #if defined(__BYTE_ORDER__) 265 # if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) 266 # if !defined(__BIG_ENDIAN__) 267 # define __BIG_ENDIAN__ 270 # if defined (__BIG_ENDIAN__) 271 # undef __BIG_ENDIAN__ 275 #if defined(__BIG_ENDIAN__) 276 # define AI_BUILD_BIG_ENDIAN 279 #endif // !! INCLUDED_AI_DEFINES_H