]> git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
Tweaks for demos on MacOSX
[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,"wxbase27ud")
52 #pragma comment(lib,"wxbase27ud_net")
53 #pragma comment(lib,"wxbase27ud_xml")
54 #pragma comment(lib,"wxmsw27ud_adv")
55 #pragma comment(lib,"wxmsw27ud_core")
56 #pragma comment(lib,"wxmsw27ud_html")
57 #if wxUSE_DEBUGREPORT
58 #pragma comment(lib,"wxmsw27ud_qa")
59 #endif
60 #pragma comment(lib,"wxmsw27ud_xrc")
61 #if wxUSE_MEDIACTRL
62 #pragma comment(lib,"wxmsw27ud_media")
63 #endif
64 #else // release
65 #if wxUSE_XML
66 #pragma comment(lib,"wxexpat")
67 #endif
68 #if wxUSE_LIBJPEG
69 #pragma comment(lib,"wxjpeg")
70 #endif
71 #if wxUSE_LIBPNG
72 #pragma comment(lib,"wxpng")
73 #endif
74 #if wxUSE_REGEX
75 #pragma comment(lib,"wxregexu")
76 #endif
77 #if wxUSE_LIBTIFF
78 #pragma comment(lib,"wxtiff")
79 #endif
80 #if wxUSE_ZLIB
81 #pragma comment(lib,"wxzlib")
82 #endif
83 #pragma comment(lib,"wxbase27u")
84 #pragma comment(lib,"wxbase27u_net")
85 #pragma comment(lib,"wxbase27u_xml")
86 #pragma comment(lib,"wxmsw27u_adv")
87 #pragma comment(lib,"wxmsw27u_core")
88 #pragma comment(lib,"wxmsw27u_html")
89 #if wxUSE_DEBUGREPORT
90 #pragma comment(lib,"wxmsw27u_qa")
91 #endif
92 #pragma comment(lib,"wxmsw27u_xrc")
93 #if wxUSE_MEDIACTRL
94 #pragma comment(lib,"wxmsw27u_media")
95 #endif
96 #endif // debug/release
97 #else // !_UNICODE
98 #ifdef WXUSINGDLL
99 #ifdef _DEBUG
100 #include "../../../lib/vc_dll/mswd/wx/setup.h"
101 #else
102 #include "../../../lib/vc_dll/msw/wx/setup.h"
103 #endif
104 #else // static lib
105 #ifdef _DEBUG
106 #include "../../../lib/vc_lib/mswd/wx/setup.h"
107 #else
108 #include "../../../lib/vc_lib/msw/wx/setup.h"
109 #endif
110 #endif // shared/static
111
112 #ifdef _DEBUG
113 #if wxUSE_XML
114 #pragma comment(lib,"wxexpatd")
115 #endif
116 #if wxUSE_LIBJPEG
117 #pragma comment(lib,"wxjpegd")
118 #endif
119 #if wxUSE_LIBPNG
120 #pragma comment(lib,"wxpngd")
121 #endif
122 #if wxUSE_REGEX
123 #pragma comment(lib,"wxregexd")
124 #endif
125 #if wxUSE_LIBTIFF
126 #pragma comment(lib,"wxtiffd")
127 #endif
128 #if wxUSE_ZLIB
129 #pragma comment(lib,"wxzlibd")
130 #endif
131 #pragma comment(lib,"wxbase27d")
132 #pragma comment(lib,"wxbase27d_net")
133 #pragma comment(lib,"wxbase27d_xml")
134 #pragma comment(lib,"wxmsw27d_adv")
135 #pragma comment(lib,"wxmsw27d_core")
136 #pragma comment(lib,"wxmsw27d_html")
137 #if wxUSE_DEBUGREPORT
138 #pragma comment(lib,"wxmsw27d_qa")
139 #endif
140 #pragma comment(lib,"wxmsw27d_xrc")
141 #if wxUSE_MEDIACTRL
142 #pragma comment(lib,"wxmsw27d_media")
143 #endif
144 #else // release
145 #if wxUSE_XML
146 #pragma comment(lib,"wxexpat")
147 #endif
148 #if wxUSE_LIBJPEG
149 #pragma comment(lib,"wxjpeg")
150 #endif
151 #if wxUSE_LIBPNG
152 #pragma comment(lib,"wxpng")
153 #endif
154 #if wxUSE_REGEX
155 #pragma comment(lib,"wxregex")
156 #endif
157 #if wxUSE_LIBTIFF
158 #pragma comment(lib,"wxtiff")
159 #endif
160 #if wxUSE_ZLIB
161 #pragma comment(lib,"wxzlib")
162 #endif
163 #pragma comment(lib,"wxbase27")
164 #pragma comment(lib,"wxbase27_net")
165 #pragma comment(lib,"wxbase27_xml")
166 #pragma comment(lib,"wxmsw27_adv")
167 #pragma comment(lib,"wxmsw27_core")
168 #pragma comment(lib,"wxmsw27_html")
169 #if wxUSE_DEBUGREPORT
170 #pragma comment(lib,"wxmsw27_qa")
171 #endif
172 #pragma comment(lib,"wxmsw27_xrc")
173 #if wxUSE_MEDIACTRL
174 #pragma comment(lib,"wxmsw27_media")
175 #endif
176 #endif // debug/release
177 #endif // _UNICODE/!_UNICODE
178 #else
179 #error "This file should only be included when using Microsoft Visual C++"
180 #endif
181