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"
68 # define DDD_ASSET_EXTENSION "ast_Linux64_gcc" // Linux64 assets
69 # define DDD_CONVERTER_EXTENSION "cvt_Linux64_gcc" // Linux64 converters
71 # define DDD_ASSET_EXTENSION "ast_Linux_gcc" // Linux assets
72 # define DDD_CONVERTER_EXTENSION "cvt_Linux_gcc" // Linux converters
75 # define DDD_ASSET_EXTENSION "ast" // Win32 assets
76 # define DDD_CONVERTER_EXTENSION "cvt" // Win32 converters
79 #if defined( _MSC_VER ) // Windows
81 # pragma message("Warning (DDD_Include.h): Unrecognized compiler version")
82 # define DDD_COMPILER_VERSION "vcXX"
83 # elif _MSC_VER == 1600
85 # define DDD_COMPILER_VERSION "vc100_64"
87 # define DDD_COMPILER_VERSION "vc100"
89 # elif _MSC_VER == 1700
91 # define DDD_COMPILER_VERSION "vc110_64"
93 # define DDD_COMPILER_VERSION "vc110"
95 # elif _MSC_VER == 1800
97 # define DDD_COMPILER_VERSION "vc120_64"
99 # define DDD_COMPILER_VERSION "vc120"
101 # elif _MSC_VER == 1900
103 # define DDD_COMPILER_VERSION "vc140_64"
105 # define DDD_COMPILER_VERSION "vc140"
108 # pragma message("Warning (DDD_Include.h): Unrecognized compiler version")
109 # define DDD_COMPILER_VERSION "vcXX"
111 #elif defined(__GNUC__)
112 # if __GNUC__ == 4 && __GNUC_MINOR__ > 5 && __GNUC_MINOR__ < 8
113 # define DDD_COMPILER_VERSION "460"
114 # elif __GNUC__ == 4 && __GNUC_MINOR__ < 9
115 # define DDD_COMPILER_VERSION "480"
117 # define DDD_COMPILER_VERSION "500"
119 # define DDD_COMPILER_VERSION "Unsupported"
125 # define DDD_DEBUG_EXTENSION "d"
127 # define DDD_DEBUG_EXTENSION ""
132 #define DDD_FILE_EXTENSION "ddd"