CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
TDVersion.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Open Design Alliance software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
#ifndef TD_VERSION_DEFINED
25
#define TD_VERSION_DEFINED
26
27
#define TD_COMPANY_NAME_S "Open Design Alliance"
28
#define TD_COMPANY_NAME_W L"Open Design Alliance"
29
30
// The string below need to be defined in quotes else compiler complains in illegal characters
31
#define TD_COPYRIGHT_START_S "Copyright\xA9 "
32
#define TD_COPYRIGHT_START_YEAR_S "2002"
33
#define TD_COPYRIGHT_END_S "-2024, 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"-2024, 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
39
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
42
43
#define TD_PRODUCT_NAME_START_S "ODA"
44
#define TD_PRODUCT_NAME_ADDITION_S ""
45
#define TDX_PRODUCT_NAME_ADDITION_S "X"
46
#define TD_PRODUCT_NAME_END_S "SDK"
47
#define TD_PRODUCT_NAME_START_W L"ODA"
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"SDK"
53
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 L" " TD_PRODUCT_NAME_END_W
56
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"
65
66
67
// Full Product version is:
68
// TD_MAJOR_VERSION.TD_MINOR_VERSION.TD_MAJOR_BUILD.TD_MINOR_BUILD
69
// Example: 1.11.00.00 (initial 1.11 release).
70
// OpenDesign maintenance updates to 1.11 will increase the major build number,
71
// for example, 1.11.01.00, 1.11.02.00, etc. Minor build number is reserved for
72
// client builds.
73
74
/* When Incrementing these be sure to make the appropriate changes
75
* to the Version string and build comments.
76
*/
77
//FELIX_CHANGE_BEGIN
78
#define WCREV_NAME $WC##REV$
79
#if WCREV_NAME==46960
80
#define WCREV 0
81
#else
82
#define WCREV 46960
83
#endif
84
#define TD_MAJOR_VERSION 25
85
#define TD_MINOR_VERSION 5
86
#define TD_MAJOR_BUILD 0
87
#define TD_MINOR_BUILD WCREV
88
89
//FELIX_CHANGE_BEGIN
90
/*
91
FX_VERSION used to define incremental COM Object version for every Product Major Release and used with combination of
92
TD_MAJOR_VERSION so final Object version will be TD_MAJOR_VERSION.FX_VERSION
93
Modification Guidlines:
94
TD_MINOR_VERSION Changed Set FX_VERSION = TD_MINOR_VERSION
95
TD_MAJOR_VERSION is same as for previous product release until ODA major version is not changed and
96
On TD_MAJOR_VERSION reset FX_VERSION to TD_MINOR_VERSION,
97
For each new ARES Product Release FX_VERSION incremented by 1 if ODA version not changed
98
Maintain History with Product version (i.e 2019.0.0)
99
*/
100
//#define FX_VERSION 3 //2019.0.0
101
//#define FX_VERSION 4 //2020.0.0
102
//#define FX_VERSION 5 //2021.0.0
103
//#define FX_VERSION 6 //2022.0.0
104
// ODA Changed to 24.7
105
// #define FX_VERSION 1 //2024.0.0
106
// #define FX_VERSION 2 //2025.0.0
107
//define next versions here
108
109
#define FX_VERSION TD_MINOR_VERSION
//ODA changed
110
111
#define TD_TYPELIB_VER_STR_S "25.5"
//TD_MAJOR_VERSION.FX_VERSION
112
//FELIX_CHANGE_END
113
114
// Numeric representation of the TD version to be used in preprocessor definitions
115
// like #if (TD_VERSION > 30500) ...
116
// (we never use minor build number, and it is not included in version.
117
// If you are building your custom version of ODA, you may define an alternative TD_VERSION_
118
// or TD_VERSION_FULL, to distinguish between minor builds if necessary)
119
#define TD_VERSION (TD_MAJOR_BUILD + TD_MINOR_VERSION*100 + TD_MAJOR_VERSION*10000)
120
121
#define TD_SHORT_STRING_VER_S "25.5"
122
#define TD_SHORT_STRING_VER_W L"25.5"
123
124
#define TD_PRODUCT_VER_STR_W_MGD L"25.5.0.0"
//FELIX_CHANGE NetClassic build fix
125
126
#if WCREV_NAME==46960
127
#define TD_PRODUCT_VER_STR_S "25.5.0.0"
128
#define TD_PRODUCT_VER_STR_W L"25.5.0.0"
129
130
//Changed in VersionInfo to TD_PRODUCT_NAME_S " " TD_PRODUCT_VER_STR_S
131
//That need for NET and ActiveX
132
#define TD_BUILD_COMMENTS_S TD_PRODUCT_NAME_S " " TD_PRODUCT_VER_STR_S
133
#define TD_BUILD_COMMENTS_W TD_PRODUCT_NAME_W L" " TD_PRODUCT_VER_STR_W
134
#else
135
#define TD_PRODUCT_VER_STR_S "25.5.0.46960"
136
#define TD_PRODUCT_VER_STR_W L"25.5.0.46960"
137
#define TD_BUILD_COMMENTS_S "ODA\xAE 25.5.0.46960"
138
#define TD_BUILD_COMMENTS_W L"ODA\x00AE 25.5.0.46960"
139
#endif
140
//FELIX_CHANGE_END
141
142
#define TD_TYPELIB_VER(MAJ,MIN) version(##MAJ##.##MIN##)
143
144
#define TEIGHA_BUILD_NUMBER 0
145
#define TEIGHA_MAIN_SVN_REVISION 0
146
#define TEIGHA_CORE_SVN_REVISION 0
147
#define TEIGHA_DGN_SVN_REVISION 0
148
#define TEIGHA_ARCHITECTURE_SVN_REVISION 0
149
#define TEIGHA_CIVIL_SVN_REVISION 0
150
#define TEIGHA_NET_SVN_REVISION 0
151
#define TEIGHA_JAVA_SVN_REVISION 0
152
#define TEIGHA_MECHANICAL_SVN_REVISION 0
153
#define TEIGHA_PRC_SVN_REVISION 0
154
#define TEIGHA_BIM_SVN_REVISION 0
155
#define TEIGHA_CLOUD_SVN_REVISION 0
156
157
#if defined(_TOOLKIT_IN_DLL_) && defined(_MSC_VER)
// second condition for RC
158
#define TD_STRINGIZE2( s ) L##s
159
#define TD_STRINGIZE( s ) TD_STRINGIZE2( s )
160
161
#if _MSC_VER == 1200
162
// src is default part of suffix
163
// fme is registered for Safe Software Inc. www.safe.com
164
165
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_6"
166
#elif _MSC_VER == 1310
167
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_7"
168
#elif _MSC_VER == 1400
169
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_8"
170
#elif _MSC_VER == 1500
171
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_9"
172
#elif _MSC_VER == 1600
173
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_10"
174
#elif _MSC_VER == 1700
175
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_11"
176
#elif _MSC_VER == 1800
177
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_12"
178
#elif _MSC_VER == 1900
179
#define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_14"
//FELIX_CHANGE
180
#elif _MSC_VER < 1920
181
#define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_15"
//FELIX_CHANGE
182
#elif _MSC_VER < 1930
183
#define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_16"
//FELIX_CHANGE
184
#elif _MSC_VER < 1950
//FELIX_CHANGE
185
#define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_17"
//FELIX_CHANGE
186
#else
187
#error "Unsupported compiler for suffixed version"
188
#endif
189
#endif
190
191
192
#if defined(_TOOLKIT_IN_DLL_) && defined(__BORLANDC__)
193
#define TD_STRINGIZE2( s ) L""##s
194
#define TD_STRINGIZE( s ) TD_STRINGIZE2( s )
195
196
#if __BORLANDC__ >= 0x0580 && __BORLANDC__ <= 0x0589
197
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_b6"
198
#elif __BORLANDC__ >= 0x0610 && __BORLANDC__ <= 0x0619
199
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_b9"
200
#elif __BORLANDC__ >= 0x0620 && __BORLANDC__ <= 0x0629
201
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"src_b10"
202
#else
203
#error "Unsupported compiler for suffixed version"
204
#endif
205
#endif
206
207
#if defined(_TOOLKIT_IN_DLL_) && defined(_WIN32) && defined(__GNUC__)
208
#define TD_DLL_VERSION_SUFFIX_STR L""
209
#endif
210
211
#endif
// ODA_VERSION_DEFINED
212
Generated on Tue Apr 15 2025 11:30:06