]> git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
unused var warning in Mac build
[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 #if wxUSE_XML
34 #pragma comment(lib,"wxexpatd")
35 #endif
36 #if wxUSE_LIBJPEG
37 #pragma comment(lib,"wxjpegd")
38 #endif
39 #if wxUSE_LIBPNG
40 #pragma comment(lib,"wxpngd")
41 #endif
42 #if wxUSE_REGEX
43 #pragma comment(lib,"wxregexud")
44 #endif
45 #if wxUSE_LIBTIFF
46 #pragma comment(lib,"wxtiffd")
47 #endif
48 #if wxUSE_ZLIB
49 #pragma comment(lib,"wxzlibd")
50 #endif
51 #pragma comment(lib,"wxbase26ud")
52 #pragma comment(lib,"wxbase26ud_net")
53 #pragma comment(lib,"wxbase26ud_xml")
54 #pragma comment(lib,"wxmsw26ud_adv")
55 #pragma comment(lib,"wxmsw26ud_core")
56 #pragma comment(lib,"wxmsw26ud_html")
57 #pragma comment(lib,"wxmsw26ud_qa")
58 #pragma comment(lib,"wxmsw26ud_xrc")
59 #if wxUSE_MEDIACTRL
60 #pragma comment(lib,"wxmsw26ud_media")
61 #endif
62 #else // release
63 #if wxUSE_XML
64 #pragma comment(lib,"wxexpat")
65 #endif
66 #if wxUSE_LIBJPEG
67 #pragma comment(lib,"wxjpeg")
68 #endif
69 #if wxUSE_LIBPNG
70 #pragma comment(lib,"wxpng")
71 #endif
72 #if wxUSE_REGEX
73 #pragma comment(lib,"wxregexu")
74 #endif
75 #if wxUSE_LIBTIFF
76 #pragma comment(lib,"wxtiff")
77 #endif
78 #if wxUSE_ZLIB
79 #pragma comment(lib,"wxzlib")
80 #endif
81 #pragma comment(lib,"wxbase26u")
82 #pragma comment(lib,"wxbase26u_net")
83 #pragma comment(lib,"wxbase26u_xml")
84 #pragma comment(lib,"wxmsw26u_adv")
85 #pragma comment(lib,"wxmsw26u_core")
86 #pragma comment(lib,"wxmsw26u_html")
87 #pragma comment(lib,"wxmsw26u_qa")
88 #pragma comment(lib,"wxmsw26u_xrc")
89 #if wxUSE_MEDIACTRL
90 #pragma comment(lib,"wxmsw26u_media")
91 #endif
92 #endif // debug/release
93 #else // !_UNICODE
94 #ifdef WXUSINGDLL
95 #ifdef _DEBUG
96 #include "../../../lib/vc_dll/mswd/wx/setup.h"
97 #else
98 #include "../../../lib/vc_dll/msw/wx/setup.h"
99 #endif
100 #else // static lib
101 #ifdef _DEBUG
102 #include "../../../lib/vc_lib/mswd/wx/setup.h"
103 #else
104 #include "../../../lib/vc_lib/msw/wx/setup.h"
105 #endif
106 #endif // shared/static
107
108 #ifdef _DEBUG
109 #if wxUSE_XML
110 #pragma comment(lib,"wxexpatd")
111 #endif
112 #if wxUSE_LIBJPEG
113 #pragma comment(lib,"wxjpegd")
114 #endif
115 #if wxUSE_LIBPNG
116 #pragma comment(lib,"wxpngd")
117 #endif
118 #if wxUSE_REGEX
119 #pragma comment(lib,"wxregexd")
120 #endif
121 #if wxUSE_LIBTIFF
122 #pragma comment(lib,"wxtiffd")
123 #endif
124 #if wxUSE_ZLIB
125 #pragma comment(lib,"wxzlibd")
126 #endif
127 #pragma comment(lib,"wxbase26d")
128 #pragma comment(lib,"wxbase26d_net")
129 #pragma comment(lib,"wxbase26d_xml")
130 #pragma comment(lib,"wxmsw26d_adv")
131 #pragma comment(lib,"wxmsw26d_core")
132 #pragma comment(lib,"wxmsw26d_html")
133 #pragma comment(lib,"wxmsw26d_qa")
134 #pragma comment(lib,"wxmsw26d_xrc")
135 #if wxUSE_MEDIACTRL
136 #pragma comment(lib,"wxmsw26d_media")
137 #endif
138 #else // release
139 #if wxUSE_XML
140 #pragma comment(lib,"wxexpat")
141 #endif
142 #if wxUSE_LIBJPEG
143 #pragma comment(lib,"wxjpeg")
144 #endif
145 #if wxUSE_LIBPNG
146 #pragma comment(lib,"wxpng")
147 #endif
148 #if wxUSE_REGEX
149 #pragma comment(lib,"wxregex")
150 #endif
151 #if wxUSE_LIBTIFF
152 #pragma comment(lib,"wxtiff")
153 #endif
154 #if wxUSE_ZLIB
155 #pragma comment(lib,"wxzlib")
156 #endif
157 #pragma comment(lib,"wxbase26")
158 #pragma comment(lib,"wxbase26_net")
159 #pragma comment(lib,"wxbase26_xml")
160 #pragma comment(lib,"wxmsw26_adv")
161 #pragma comment(lib,"wxmsw26_core")
162 #pragma comment(lib,"wxmsw26_html")
163 #pragma comment(lib,"wxmsw26_qa")
164 #pragma comment(lib,"wxmsw26_xrc")
165 #if wxUSE_MEDIACTRL
166 #pragma comment(lib,"wxmsw26_media")
167 #endif
168 #endif // debug/release
169 #endif // _UNICODE/!_UNICODE
170 #else
171 #error "This file should only be included when using Microsoft Visual C++"
172 #endif
173