]> git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
mention also the contrib libraries removal/movements
[wxWidgets.git] / include / msvc / wx / setup.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msvc/wx/msw/setup.h
3 // Purpose: wrapper around the real wx/setup.h for Visual C++
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 2004-12-12
7 // RCS-ID: $Id$
8 // Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but
13 // the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined
14 // explicitly!
15
16 #ifdef _MSC_VER
17 #ifdef _UNICODE
18 #ifdef WXUSINGDLL
19 #ifdef _DEBUG
20 #include "../../../lib/vc_dll/mswud/wx/setup.h"
21 #else
22 #include "../../../lib/vc_dll/mswu/wx/setup.h"
23 #endif
24 #else
25 #ifdef _DEBUG
26 #include "../../../lib/vc_lib/mswud/wx/setup.h"
27 #else
28 #include "../../../lib/vc_lib/mswu/wx/setup.h"
29 #endif
30 #endif
31
32 #ifdef _DEBUG
33 #pragma comment(lib,"wxbase29ud")
34 #pragma comment(lib,"wxbase29ud_net")
35 #pragma comment(lib,"wxbase29ud_xml")
36 #if wxUSE_REGEX
37 #pragma comment(lib,"wxregexud")
38 #endif
39
40 #if wxUSE_GUI
41 #if wxUSE_XML
42 #pragma comment(lib,"wxexpatd")
43 #endif
44 #if wxUSE_LIBJPEG
45 #pragma comment(lib,"wxjpegd")
46 #endif
47 #if wxUSE_LIBPNG
48 #pragma comment(lib,"wxpngd")
49 #endif
50 #if wxUSE_LIBTIFF
51 #pragma comment(lib,"wxtiffd")
52 #endif
53 #if wxUSE_ZLIB
54 #pragma comment(lib,"wxzlibd")
55 #endif
56 #pragma comment(lib,"wxmsw29ud_adv")
57 #pragma comment(lib,"wxmsw29ud_core")
58 #pragma comment(lib,"wxmsw29ud_html")
59 #if wxUSE_GLCANVAS
60 #pragma comment(lib,"wxmsw29ud_gl")
61 #endif
62 #if wxUSE_DEBUGREPORT
63 #pragma comment(lib,"wxmsw29ud_qa")
64 #endif
65 #if wxUSE_XRC
66 #pragma comment(lib,"wxmsw29ud_xrc")
67 #endif
68 #if wxUSE_AUI
69 #pragma comment(lib,"wxmsw29ud_aui")
70 #endif
71 #if wxUSE_RICHTEXT
72 #pragma comment(lib,"wxmsw29ud_richtext")
73 #endif
74 #if wxUSE_MEDIACTRL
75 #pragma comment(lib,"wxmsw29ud_media")
76 #endif
77 #if wxUSE_ODBC
78 #pragma comment(lib,"wxbase29ud_odbc")
79 #endif
80 #endif // wxUSE_GUI
81 #else // release
82 #pragma comment(lib,"wxbase29u")
83 #pragma comment(lib,"wxbase29u_net")
84 #pragma comment(lib,"wxbase29u_xml")
85 #if wxUSE_REGEX
86 #pragma comment(lib,"wxregexu")
87 #endif
88
89 #if wxUSE_GUI
90 #if wxUSE_XML
91 #pragma comment(lib,"wxexpat")
92 #endif
93 #if wxUSE_LIBJPEG
94 #pragma comment(lib,"wxjpeg")
95 #endif
96 #if wxUSE_LIBPNG
97 #pragma comment(lib,"wxpng")
98 #endif
99 #if wxUSE_LIBTIFF
100 #pragma comment(lib,"wxtiff")
101 #endif
102 #if wxUSE_ZLIB
103 #pragma comment(lib,"wxzlib")
104 #endif
105 #pragma comment(lib,"wxmsw29u_adv")
106 #pragma comment(lib,"wxmsw29u_core")
107 #pragma comment(lib,"wxmsw29u_html")
108 #if wxUSE_GLCANVAS
109 #pragma comment(lib,"wxmsw29u_gl")
110 #endif
111 #if wxUSE_DEBUGREPORT
112 #pragma comment(lib,"wxmsw29u_qa")
113 #endif
114 #if wxUSE_XRC
115 #pragma comment(lib,"wxmsw29u_xrc")
116 #endif
117 #if wxUSE_AUI
118 #pragma comment(lib,"wxmsw29u_aui")
119 #endif
120 #if wxUSE_RICHTEXT
121 #pragma comment(lib,"wxmsw29u_richtext")
122 #endif
123 #if wxUSE_MEDIACTRL
124 #pragma comment(lib,"wxmsw29u_media")
125 #endif
126 #if wxUSE_ODBC
127 #pragma comment(lib,"wxbase29u_odbc")
128 #endif
129 #endif // wxUSE_GUI
130 #endif // debug/release
131 #else // !_UNICODE
132 #ifdef WXUSINGDLL
133 #ifdef _DEBUG
134 #include "../../../lib/vc_dll/mswd/wx/setup.h"
135 #else
136 #include "../../../lib/vc_dll/msw/wx/setup.h"
137 #endif
138 #else // static lib
139 #ifdef _DEBUG
140 #include "../../../lib/vc_lib/mswd/wx/setup.h"
141 #else
142 #include "../../../lib/vc_lib/msw/wx/setup.h"
143 #endif
144 #endif // shared/static
145
146 #ifdef _DEBUG
147 #pragma comment(lib,"wxbase29d")
148 #pragma comment(lib,"wxbase29d_net")
149 #pragma comment(lib,"wxbase29d_xml")
150 #if wxUSE_REGEX
151 #pragma comment(lib,"wxregexd")
152 #endif
153
154 #if wxUSE_GUI
155 #if wxUSE_XML
156 #pragma comment(lib,"wxexpatd")
157 #endif
158 #if wxUSE_LIBJPEG
159 #pragma comment(lib,"wxjpegd")
160 #endif
161 #if wxUSE_LIBPNG
162 #pragma comment(lib,"wxpngd")
163 #endif
164 #if wxUSE_LIBTIFF
165 #pragma comment(lib,"wxtiffd")
166 #endif
167 #if wxUSE_ZLIB
168 #pragma comment(lib,"wxzlibd")
169 #endif
170 #pragma comment(lib,"wxmsw29d_adv")
171 #pragma comment(lib,"wxmsw29d_core")
172 #pragma comment(lib,"wxmsw29d_html")
173 #if wxUSE_GLCANVAS
174 #pragma comment(lib,"wxmsw29d_gl")
175 #endif
176 #if wxUSE_DEBUGREPORT
177 #pragma comment(lib,"wxmsw29d_qa")
178 #endif
179 #if wxUSE_XRC
180 #pragma comment(lib,"wxmsw29d_xrc")
181 #endif
182 #if wxUSE_AUI
183 #pragma comment(lib,"wxmsw29d_aui")
184 #endif
185 #if wxUSE_RICHTEXT
186 #pragma comment(lib,"wxmsw29d_richtext")
187 #endif
188 #if wxUSE_MEDIACTRL
189 #pragma comment(lib,"wxmsw29d_media")
190 #endif
191 #if wxUSE_ODBC
192 #pragma comment(lib,"wxbase29d_odbc")
193 #endif
194 #endif // wxUSE_GUI
195 #else // release
196 #pragma comment(lib,"wxbase29")
197 #pragma comment(lib,"wxbase29_net")
198 #pragma comment(lib,"wxbase29_xml")
199 #if wxUSE_REGEX
200 #pragma comment(lib,"wxregex")
201 #endif
202
203 #if wxUSE_GUI
204 #if wxUSE_XML
205 #pragma comment(lib,"wxexpat")
206 #endif
207 #if wxUSE_LIBJPEG
208 #pragma comment(lib,"wxjpeg")
209 #endif
210 #if wxUSE_LIBPNG
211 #pragma comment(lib,"wxpng")
212 #endif
213 #if wxUSE_LIBTIFF
214 #pragma comment(lib,"wxtiff")
215 #endif
216 #if wxUSE_ZLIB
217 #pragma comment(lib,"wxzlib")
218 #endif
219 #pragma comment(lib,"wxmsw29_adv")
220 #pragma comment(lib,"wxmsw29_core")
221 #pragma comment(lib,"wxmsw29_html")
222 #if wxUSE_GLCANVAS
223 #pragma comment(lib,"wxmsw29_gl")
224 #endif
225 #if wxUSE_DEBUGREPORT
226 #pragma comment(lib,"wxmsw29_qa")
227 #endif
228 #if wxUSE_XRC
229 #pragma comment(lib,"wxmsw29_xrc")
230 #endif
231 #if wxUSE_AUI
232 #pragma comment(lib,"wxmsw29_aui")
233 #endif
234 #if wxUSE_RICHTEXT
235 #pragma comment(lib,"wxmsw29_richtext")
236 #endif
237 #if wxUSE_MEDIACTRL
238 #pragma comment(lib,"wxmsw29_media")
239 #endif
240 #if wxUSE_ODBC
241 #pragma comment(lib,"wxbase29_odbc")
242 #endif
243 #endif // wxUSE_GUI
244 #endif // debug/release
245 #endif // _UNICODE/!_UNICODE
246 #else
247 #error "This file should only be included when using Microsoft Visual C++"
248 #endif
249