]> git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
e843600893117dba917cfc53cfda68891603342a
[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,"wxbase28ud")
34 #pragma comment(lib,"wxbase28ud_net")
35 #pragma comment(lib,"wxbase28ud_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,"wxmsw28ud_adv")
57 #pragma comment(lib,"wxmsw28ud_core")
58 #pragma comment(lib,"wxmsw28ud_html")
59 #if wxUSE_GLCANVAS
60 #pragma comment(lib,"wxmsw28ud_gl")
61 #endif
62 #if wxUSE_DEBUGREPORT
63 #pragma comment(lib,"wxmsw28ud_qa")
64 #endif
65 #if wxUSE_XRC
66 #pragma comment(lib,"wxmsw28ud_xrc")
67 #endif
68 #if wxUSE_AUI
69 #pragma comment(lib,"wxmsw28ud_aui")
70 #endif
71 #if wxUSE_RICHTEXT
72 #pragma comment(lib,"wxmsw28ud_richtext")
73 #endif
74 #if wxUSE_MEDIACTRL
75 #pragma comment(lib,"wxmsw28ud_media")
76 #endif
77 #if wxUSE_ODBC
78 #pragma comment(lib,"wxbase28ud_odbc")
79 #endif
80 #endif // wxUSE_GUI
81 #else // release
82 #pragma comment(lib,"wxbase28u")
83 #pragma comment(lib,"wxbase28u_net")
84 #pragma comment(lib,"wxbase28u_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,"wxmsw28u_adv")
106 #pragma comment(lib,"wxmsw28u_core")
107 #pragma comment(lib,"wxmsw28u_html")
108 #if wxUSE_GLCANVAS
109 #pragma comment(lib,"wxmsw28u_gl")
110 #endif
111 #if wxUSE_DEBUGREPORT
112 #pragma comment(lib,"wxmsw28u_qa")
113 #endif
114 #if wxUSE_XRC
115 #pragma comment(lib,"wxmsw28u_xrc")
116 #endif
117 #if wxUSE_AUI
118 #pragma comment(lib,"wxmsw28u_aui")
119 #endif
120 #if wxUSE_RICHTEXT
121 #pragma comment(lib,"wxmsw28u_richtext")
122 #endif
123 #if wxUSE_MEDIACTRL
124 #pragma comment(lib,"wxmsw28u_media")
125 #endif
126 #if wxUSE_ODBC
127 #pragma comment(lib,"wxbase28u_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,"wxbase28d")
148 #pragma comment(lib,"wxbase28d_net")
149 #pragma comment(lib,"wxbase28d_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,"wxmsw28d_adv")
171 #pragma comment(lib,"wxmsw28d_core")
172 #pragma comment(lib,"wxmsw28d_html")
173 #if wxUSE_GLCANVAS
174 #pragma comment(lib,"wxmsw28d_gl")
175 #endif
176 #if wxUSE_DEBUGREPORT
177 #pragma comment(lib,"wxmsw28d_qa")
178 #endif
179 #if wxUSE_XRC
180 #pragma comment(lib,"wxmsw28d_xrc")
181 #endif
182 #if wxUSE_AUI
183 #pragma comment(lib,"wxmsw28d_aui")
184 #endif
185 #if wxUSE_RICHTEXT
186 #pragma comment(lib,"wxmsw28d_richtext")
187 #endif
188 #if wxUSE_MEDIACTRL
189 #pragma comment(lib,"wxmsw28d_media")
190 #endif
191 #if wxUSE_ODBC
192 #pragma comment(lib,"wxbase28d_odbc")
193 #endif
194 #endif // wxUSE_GUI
195 #else // release
196 #pragma comment(lib,"wxbase28")
197 #pragma comment(lib,"wxbase28_net")
198 #pragma comment(lib,"wxbase28_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,"wxmsw28_adv")
220 #pragma comment(lib,"wxmsw28_core")
221 #pragma comment(lib,"wxmsw28_html")
222 #if wxUSE_GLCANVAS
223 #pragma comment(lib,"wxmsw28_gl")
224 #endif
225 #if wxUSE_DEBUGREPORT
226 #pragma comment(lib,"wxmsw28_qa")
227 #endif
228 #if wxUSE_XRC
229 #pragma comment(lib,"wxmsw28_xrc")
230 #endif
231 #if wxUSE_AUI
232 #pragma comment(lib,"wxmsw28_aui")
233 #endif
234 #if wxUSE_RICHTEXT
235 #pragma comment(lib,"wxmsw28_richtext")
236 #endif
237 #if wxUSE_MEDIACTRL
238 #pragma comment(lib,"wxmsw28_media")
239 #endif
240 #if wxUSE_ODBC
241 #pragma comment(lib,"wxbase28_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