Go to the documentation of this file.
45 #if defined(_MSC_VER) && (defined(DDD_DLL) || defined(DDD_EXPORT_LIBRARY) || defined(DDD_IMPORT_LIBRARY))
46 # if defined(DDD_LIBRARY) || defined(DDD_EXPORT_LIBRARY)
47 # define DDD_EXPORT __declspec(dllexport)
49 # define DDD_EXPORT __declspec(dllimport)
58 #define DDD_EXPORT_EXTERN_C extern "C" __declspec(dllexport)
60 #define DDD_EXPORT_EXTERN_C extern "C"
67 # define DDD_ASSET_EXTENSION "ast_Linux_gcc" // Linux assets
68 # define DDD_CONVERTER_EXTENSION "cvt_Linux_gcc" // Linux converters
70 # define DDD_ASSET_EXTENSION "ast" // Win32 assets
71 # define DDD_CONVERTER_EXTENSION "cvt" // Win32 converters
74 #if defined( _MSC_VER ) // Windows
76 # pragma message("Warning (DDD_Include.h): Unrecognized compiler version")
77 # define DDD_COMPILER_VERSION "vcXX"
78 # elif _MSC_VER < 1400
79 # define DDD_COMPILER_VERSION "vc71"
80 # elif _MSC_VER < 1500
81 # define DDD_COMPILER_VERSION "vc80"
82 # elif _MSC_VER < 1600
83 # define DDD_COMPILER_VERSION "vc90"
84 # elif _MSC_VER == 1600
85 # define DDD_COMPILER_VERSION "vc100"
86 # elif _MSC_VER == 1700
87 # define DDD_COMPILER_VERSION "vc110"
88 # elif _MSC_VER == 1800
89 # define DDD_COMPILER_VERSION "vc120"
91 # pragma message("Warning (DDD_Include.h): Unrecognized compiler version")
92 # define DDD_COMPILER_VERSION "vcXX"
94 #elif defined(__GNUC__)
95 # if __GNUC__ == 3 && __GNUC_MINOR__ < 4
96 # define DDD_COMPILER_VERSION "322"
97 # elif __GNUC__ == 3 && __GNUC_MINOR__ == 4
98 # define DDD_COMPILER_VERSION "342"
99 # elif __GNUC__ == 4 && __GNUC_MINOR__ < 2
100 # define DDD_COMPILER_VERSION "400"
101 # elif __GNUC__ == 4 && __GNUC_MINOR__ < 4
102 # define DDD_COMPILER_VERSION "420"
103 # elif __GNUC__ == 4 && __GNUC_MINOR__ < 6
104 # define DDD_COMPILER_VERSION "440"
105 # elif __GNUC__ == 4 && __GNUC_MINOR__ < 8
106 # define DDD_COMPILER_VERSION "460"
107 # elif __GNUC__ == 4 && __GNUC_MINOR__ == 8
108 # define DDD_COMPILER_VERSION "480"
110 # define DDD_COMPILER_VERSION "Unsupported"
116 # define DDD_DEBUG_EXTENSION "d"
118 # define DDD_DEBUG_EXTENSION ""
123 #define DDD_FILE_EXTENSION "ddd"