24 #ifndef TD_VERSION_DEFINED
25 #define TD_VERSION_DEFINED
27 #define TD_COMPANY_NAME_S "Open Design Alliance"
28 #define TD_COMPANY_NAME_W L"Open Design Alliance"
31 #define TD_COPYRIGHT_START_S "Copyright\xA9 "
32 #define TD_COPYRIGHT_START_YEAR_S "2002"
33 #define TD_COPYRIGHT_END_S "-2017, Open Design Alliance"
34 #define TD_COPYRIGHT_START_W L"Copyright \x00A9 "
35 #define TD_COPYRIGHT_START_YEAR_W L"2002"
36 #define TD_COPYRIGHT_END_W L"-2017, Open Design Alliance"
37 #define TDNET_C_COPYRIGHT_START_YEAR_W TD_COPYRIGHT_START_YEAR_W
38 #define TDNET_COPYRIGHT_START_YEAR_W TD_COPYRIGHT_START_YEAR_W
40 #define TD_COPYRIGHT_S TD_COPYRIGHT_START_S TD_COPYRIGHT_START_YEAR_S TD_COPYRIGHT_END_S
41 #define TD_COPYRIGHT_W TD_COPYRIGHT_START_W TD_COPYRIGHT_START_YEAR_W TD_COPYRIGHT_END_W
43 #define TD_PRODUCT_NAME_START_S "Teigha\xAE"
44 #define TD_PRODUCT_NAME_ADDITION_S ""
45 #define TDX_PRODUCT_NAME_ADDITION_S "X"
46 #define TD_PRODUCT_NAME_END_S ""
47 #define TD_PRODUCT_NAME_START_W L"Teigha\x00AE"
48 #define TD_PRODUCT_NAME_ADDITION_W L""
49 #define TDX_PRODUCT_NAME_ADDITION_W L"X"
50 #define TDNET_PRODUCT_NAME_ADDITION_W L".NET"
51 #define TDNET_C_PRODUCT_NAME_ADDITION_W L".NET Classic"
52 #define TD_PRODUCT_NAME_END_W L""
54 #define TD_PRODUCT_NAME_S TD_PRODUCT_NAME_START_S TD_PRODUCT_NAME_END_S
55 #define TD_PRODUCT_NAME_W TD_PRODUCT_NAME_START_W TD_PRODUCT_NAME_END_W
57 #define DEFAULT_MODULE_EXTENSION_S "tx"
58 #define DEFAULT_MODULE_EXTENSION_DOT_S ".tx"
59 #define DEFAULT_MODULE_EXTENSION_W L"tx"
60 #define DEFAULT_MODULE_EXTENSION_DOT_W L".tx"
61 #define VECTORIZATION_MODULE_EXTENSION_S "txv"
62 #define VECTORIZATION_MODULE_EXTENSION_DOT_S ".txv"
63 #define VECTORIZATION_MODULE_EXTENSION_W L"txv"
64 #define VECTORIZATION_MODULE_EXTENSION_DOT_W L".txv"
78 #define WCREV_NAME $WC##REV$
84 #define TD_MAJOR_VERSION 4
85 #define TD_MINOR_VERSION 3
86 #define TD_MAJOR_BUILD 2
87 #define TD_MINOR_BUILD WCREV
106 #define TD_TYPELIB_VER_STR_S "4.6"
114 #define TD_VERSION (TD_MAJOR_BUILD + TD_MINOR_VERSION*100 + TD_MAJOR_VERSION*10000)
116 #define TD_SHORT_STRING_VER_S "4.03"
117 #define TD_SHORT_STRING_VER_W L"4.03"
120 #define TD_PRODUCT_VER_STR_W_MGD L"4.03.2.0"
122 #if WCREV_NAME==44600
123 #define TD_PRODUCT_VER_STR_S "4.3.2.0"
124 #define TD_PRODUCT_VER_STR_W L"4.3.2.0"
128 #define TD_BUILD_COMMENTS_S "Teigha\xAE 4.3.2.0"
129 #define TD_BUILD_COMMENTS_W L"Teigha\x00AE 4.3.2.0"
131 #define TD_PRODUCT_VER_STR_S "4.03.2.44600"
132 #define TD_PRODUCT_VER_STR_W L"4.03.2.44600"
133 #define TD_BUILD_COMMENTS_S "Teigha\xAE 4.03.2.44600"
134 #define TD_BUILD_COMMENTS_W L"Teigha\x00AE 4.03.2.44600"
138 #define TD_TYPELIB_VER(MAJ,MIN) version(##MAJ##.##MIN##)
140 #define TEIGHA_BUILD_NUMBER 0
141 #define TEIGHA_MAIN_SVN_REVISION 0
142 #define TEIGHA_CORE_SVN_REVISION 0
143 #define TEIGHA_DGN_SVN_REVISION 0
144 #define TEIGHA_ARCHITECTURE_SVN_REVISION 0
145 #define TEIGHA_CIVIL_SVN_REVISION 0
146 #define TEIGHA_NET_SVN_REVISION 0
147 #define TEIGHA_JAVA_SVN_REVISION 0
148 #define TEIGHA_MECHANICAL_SVN_REVISION 0
149 #define TEIGHA_PRC_SVN_REVISION 0
150 #define TEIGHA_BIM_SVN_REVISION 0
151 #define TEIGHA_CLOUD_SVN_REVISION 0
153 #if defined(_TOOLKIT_IN_DLL_) && defined(_MSC_VER)
154 #define TD_STRINGIZE2( s ) L##s
155 #define TD_STRINGIZE( s ) TD_STRINGIZE2( s )
158 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_6"
159 #elif _MSC_VER == 1310
160 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_7"
161 #elif _MSC_VER == 1400
162 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_8"
163 #elif _MSC_VER == 1500
164 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_9"
165 #elif _MSC_VER == 1600
166 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_10"
167 #elif _MSC_VER == 1700
168 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_11"
169 #elif _MSC_VER == 1800
170 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_12"
171 #elif _MSC_VER == 1900
172 #define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_14"
173 #elif _MSC_VER >= 1910
174 #define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_15"
177 #error "Unsupported compiler for suffixed version"
182 #if defined(_TOOLKIT_IN_DLL_) && defined(__BORLANDC__)
183 #define TD_STRINGIZE2( s ) L""##s
184 #define TD_STRINGIZE( s ) TD_STRINGIZE2( s )
186 #if __BORLANDC__ >= 0x0580 && __BORLANDC__ <= 0x0589
187 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b6"
188 #elif __BORLANDC__ >= 0x0610 && __BORLANDC__ <= 0x0619
189 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b9"
190 #elif __BORLANDC__ >= 0x0620 && __BORLANDC__ <= 0x0629
191 #define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b10"
193 #error "Unsupported compiler for suffixed version"
197 #if defined(_TOOLKIT_IN_DLL_) && defined(_WIN32) && defined(__GNUC__)
198 #define TD_DLL_VERSION_SUFFIX_STR L""