]>
git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
d534594cd41bf9ed8967e75d11a12d1890322ff5
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msvc/wx/msw/setup.h
3 // Purpose: wrapper around the real wx/setup.h for Visual C++
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but
13 // the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined
20 #include "../../../lib/vc_dll/mswud/wx/setup.h"
22 #include "../../../lib/vc_dll/mswu/wx/setup.h"
26 #include "../../../lib/vc_lib/mswud/wx/setup.h"
28 #include "../../../lib/vc_lib/mswu/wx/setup.h"
32 // if we're using MSLU, ensure that the first library we use is
34 #if wxUSE_UNICODE_MSLU
35 // for this, first tell linker not to use the standard libraries
36 #pragma comment(linker, "/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib")
38 // then tell it to link with unicows.lib
39 #pragma comment(lib, "unicows.lib")
41 // and only then readd all standard libraries back
42 #pragma comment(lib, "kernel32.lib")
43 #pragma comment(lib, "user32.lib")
44 #pragma comment(lib, "gdi32.lib")
45 #pragma comment(lib, "winspool.lib")
46 #pragma comment(lib, "comdlg32.lib")
47 #pragma comment(lib, "advapi32.lib")
48 #pragma comment(lib, "shell32.lib")
49 #pragma comment(lib, "oleacc.lib")
50 #endif // wxUSE_UNICODE_MSLU
54 #pragma comment(lib,"wxexpatd")
57 #pragma comment(lib,"wxjpegd")
60 #pragma comment(lib,"wxpngd")
63 #pragma comment(lib,"wxregexud")
66 #pragma comment(lib,"wxtiffd")
69 #pragma comment(lib,"wxzlibd")
71 #pragma comment(lib,"wxbase26ud")
72 #pragma comment(lib,"wxbase26ud_net")
73 #pragma comment(lib,"wxbase26ud_xml")
74 #pragma comment(lib,"wxmsw26ud_adv")
75 #pragma comment(lib,"wxmsw26ud_core")
76 #pragma comment(lib,"wxmsw26ud_html")
77 #pragma comment(lib,"wxmsw26ud_qa")
78 #pragma comment(lib,"wxmsw26ud_xrc")
80 #pragma comment(lib,"wxmsw26ud_media")
84 #pragma comment(lib,"wxexpat")
87 #pragma comment(lib,"wxjpeg")
90 #pragma comment(lib,"wxpng")
93 #pragma comment(lib,"wxregexu")
96 #pragma comment(lib,"wxtiff")
99 #pragma comment(lib,"wxzlib")
101 #pragma comment(lib,"wxbase26u")
102 #pragma comment(lib,"wxbase26u_net")
103 #pragma comment(lib,"wxbase26u_xml")
104 #pragma comment(lib,"wxmsw26u_adv")
105 #pragma comment(lib,"wxmsw26u_core")
106 #pragma comment(lib,"wxmsw26u_html")
107 #pragma comment(lib,"wxmsw26u_qa")
108 #pragma comment(lib,"wxmsw26u_xrc")
110 #pragma comment(lib,"wxmsw26u_media")
112 #endif // debug/release
116 #include "../../../lib/vc_dll/mswd/wx/setup.h"
118 #include "../../../lib/vc_dll/msw/wx/setup.h"
122 #include "../../../lib/vc_lib/mswd/wx/setup.h"
124 #include "../../../lib/vc_lib/msw/wx/setup.h"
126 #endif // shared/static
130 #pragma comment(lib,"wxexpatd")
133 #pragma comment(lib,"wxjpegd")
136 #pragma comment(lib,"wxpngd")
139 #pragma comment(lib,"wxregexd")
142 #pragma comment(lib,"wxtiffd")
145 #pragma comment(lib,"wxzlibd")
147 #pragma comment(lib,"wxbase26d")
148 #pragma comment(lib,"wxbase26d_net")
149 #pragma comment(lib,"wxbase26d_xml")
150 #pragma comment(lib,"wxmsw26d_adv")
151 #pragma comment(lib,"wxmsw26d_core")
152 #pragma comment(lib,"wxmsw26d_html")
153 #pragma comment(lib,"wxmsw26d_qa")
154 #pragma comment(lib,"wxmsw26d_xrc")
156 #pragma comment(lib,"wxmsw26d_media")
160 #pragma comment(lib,"wxexpat")
163 #pragma comment(lib,"wxjpeg")
166 #pragma comment(lib,"wxpng")
169 #pragma comment(lib,"wxregex")
172 #pragma comment(lib,"wxtiff")
175 #pragma comment(lib,"wxzlib")
177 #pragma comment(lib,"wxbase26")
178 #pragma comment(lib,"wxbase26_net")
179 #pragma comment(lib,"wxbase26_xml")
180 #pragma comment(lib,"wxmsw26_adv")
181 #pragma comment(lib,"wxmsw26_core")
182 #pragma comment(lib,"wxmsw26_html")
183 #pragma comment(lib,"wxmsw26_qa")
184 #pragma comment(lib,"wxmsw26_xrc")
186 #pragma comment(lib,"wxmsw26_media")
188 #endif // debug/release
189 #endif // _UNICODE/!_UNICODE
191 #error "This file should only be included when using Microsoft Visual C++"