]> git.saurik.com Git - wxWidgets.git/blame - include/msvc/wx/setup.h
escape underscores and don't use abbreviations in text
[wxWidgets.git] / include / msvc / wx / setup.h
CommitLineData
e5099bdf
VZ
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
3103e8a9 14// explicitly!
e5099bdf
VZ
15
16#ifdef _MSC_VER
17 #ifdef _UNICODE
18 #ifdef WXUSINGDLL
19 #ifdef _DEBUG
9fa2da4a 20 #include "../../../lib/vc_dll/mswud/wx/setup.h"
e5099bdf 21 #else
9fa2da4a 22 #include "../../../lib/vc_dll/mswu/wx/setup.h"
e5099bdf
VZ
23 #endif
24 #else
25 #ifdef _DEBUG
9fa2da4a 26 #include "../../../lib/vc_lib/mswud/wx/setup.h"
e5099bdf 27 #else
9fa2da4a 28 #include "../../../lib/vc_lib/mswu/wx/setup.h"
e5099bdf
VZ
29 #endif
30 #endif
31
32 #ifdef _DEBUG
908f0871
VZ
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
dc866dca
CE
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")
24d88d6d 57 #ifdef USE_QA
dc866dca 58 #pragma comment(lib,"wxmsw27ud_qa")
24d88d6d 59 #endif
dc866dca 60 #pragma comment(lib,"wxmsw27ud_xrc")
14a3591d 61 #if wxUSE_MEDIACTRL
dc866dca 62 #pragma comment(lib,"wxmsw27ud_media")
14a3591d 63 #endif
e5099bdf 64 #else // release
908f0871
VZ
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
dc866dca
CE
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")
24d88d6d 89 #ifdef USE_QA
dc866dca 90 #pragma comment(lib,"wxmsw27u_qa")
24d88d6d 91 #endif
dc866dca 92 #pragma comment(lib,"wxmsw27u_xrc")
14a3591d 93 #if wxUSE_MEDIACTRL
dc866dca 94 #pragma comment(lib,"wxmsw27u_media")
14a3591d 95 #endif
e5099bdf
VZ
96 #endif // debug/release
97 #else // !_UNICODE
98 #ifdef WXUSINGDLL
99 #ifdef _DEBUG
9fa2da4a 100 #include "../../../lib/vc_dll/mswd/wx/setup.h"
e5099bdf 101 #else
9fa2da4a 102 #include "../../../lib/vc_dll/msw/wx/setup.h"
e5099bdf
VZ
103 #endif
104 #else // static lib
105 #ifdef _DEBUG
9fa2da4a 106 #include "../../../lib/vc_lib/mswd/wx/setup.h"
e5099bdf 107 #else
9fa2da4a 108 #include "../../../lib/vc_lib/msw/wx/setup.h"
e5099bdf
VZ
109 #endif
110 #endif // shared/static
111
112 #ifdef _DEBUG
908f0871
VZ
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
5529f88e 123 #pragma comment(lib,"wxregexd")
908f0871
VZ
124 #endif
125 #if wxUSE_LIBTIFF
126 #pragma comment(lib,"wxtiffd")
127 #endif
128 #if wxUSE_ZLIB
129 #pragma comment(lib,"wxzlibd")
130 #endif
dc866dca
CE
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")
24d88d6d 137 #ifdef USE_QA
dc866dca 138 #pragma comment(lib,"wxmsw27d_qa")
24d88d6d 139 #endif
dc866dca 140 #pragma comment(lib,"wxmsw27d_xrc")
14a3591d 141 #if wxUSE_MEDIACTRL
dc866dca 142 #pragma comment(lib,"wxmsw27d_media")
14a3591d 143 #endif
e5099bdf 144 #else // release
908f0871
VZ
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
5529f88e 155 #pragma comment(lib,"wxregex")
908f0871
VZ
156 #endif
157 #if wxUSE_LIBTIFF
158 #pragma comment(lib,"wxtiff")
159 #endif
160 #if wxUSE_ZLIB
161 #pragma comment(lib,"wxzlib")
162 #endif
dc866dca
CE
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")
24d88d6d 169 #ifdef USE_QA
dc866dca 170 #pragma comment(lib,"wxmsw27_qa")
24d88d6d 171 #endif
dc866dca 172 #pragma comment(lib,"wxmsw27_xrc")
14a3591d 173 #if wxUSE_MEDIACTRL
dc866dca 174 #pragma comment(lib,"wxmsw27_media")
14a3591d 175 #endif
e5099bdf
VZ
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