]>
Commit | Line | Data |
---|---|---|
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 | |
14 | // explicitely! | |
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,"wxexpatd") | |
34 | #pragma comment(lib,"wxjpegd") | |
35 | #pragma comment(lib,"wxpngd") | |
36 | #pragma comment(lib,"wxregexud") | |
37 | #pragma comment(lib,"wxtiffd") | |
38 | #pragma comment(lib,"wxzlibd") | |
39 | #pragma comment(lib,"wxbase25ud") | |
40 | #pragma comment(lib,"wxbase25ud_net") | |
41 | #pragma comment(lib,"wxbase25ud_xml") | |
42 | #pragma comment(lib,"wxmsw25ud_adv") | |
43 | #pragma comment(lib,"wxmsw25ud_core") | |
44 | #pragma comment(lib,"wxmsw25ud_html") | |
45 | #pragma comment(lib,"wxmsw25ud_xrc") | |
46 | #else // release | |
47 | #pragma comment(lib,"wxexpat") | |
48 | #pragma comment(lib,"wxjpeg") | |
49 | #pragma comment(lib,"wxpng") | |
50 | #pragma comment(lib,"wxregexu") | |
51 | #pragma comment(lib,"wxtiff") | |
52 | #pragma comment(lib,"wxzlib") | |
53 | #pragma comment(lib,"wxbase25u") | |
54 | #pragma comment(lib,"wxbase25u_net") | |
55 | #pragma comment(lib,"wxbase25u_xml") | |
56 | #pragma comment(lib,"wxmsw25u_adv") | |
57 | #pragma comment(lib,"wxmsw25u_core") | |
58 | #pragma comment(lib,"wxmsw25u_html") | |
59 | #pragma comment(lib,"wxmsw25u_xrc") | |
60 | #endif // debug/release | |
61 | #else // !_UNICODE | |
62 | #ifdef WXUSINGDLL | |
63 | #ifdef _DEBUG | |
64 | #include "../../lib/vc_dll/mswd/wx/setup.h" | |
65 | #else | |
66 | #include "../../lib/vc_dll/msw/wx/setup.h" | |
67 | #endif | |
68 | #else // static lib | |
69 | #ifdef _DEBUG | |
70 | #include "../../lib/vc_lib/mswd/wx/setup.h" | |
71 | #else | |
72 | #include "../../lib/vc_lib/msw/wx/setup.h" | |
73 | #endif | |
74 | #endif // shared/static | |
75 | ||
76 | #ifdef _DEBUG | |
77 | #pragma comment(lib,"wxexpatd") | |
78 | #pragma comment(lib,"wxjpegd") | |
79 | #pragma comment(lib,"wxpngd") | |
80 | #pragma comment(lib,"wxregexd") | |
81 | #pragma comment(lib,"wxtiffd") | |
82 | #pragma comment(lib,"wxzlibd") | |
83 | #pragma comment(lib,"wxbase25d") | |
84 | #pragma comment(lib,"wxbase25d_net") | |
85 | #pragma comment(lib,"wxbase25d_xml") | |
86 | #pragma comment(lib,"wxmsw25d_adv") | |
87 | #pragma comment(lib,"wxmsw25d_core") | |
88 | #pragma comment(lib,"wxmsw25d_html") | |
89 | #pragma comment(lib,"wxmsw25d_xrc") | |
90 | #else // release | |
91 | #pragma comment(lib,"wxexpat") | |
92 | #pragma comment(lib,"wxjpeg") | |
93 | #pragma comment(lib,"wxpng") | |
94 | #pragma comment(lib,"wxregex") | |
95 | #pragma comment(lib,"wxtiff") | |
96 | #pragma comment(lib,"wxzlib") | |
97 | #pragma comment(lib,"wxbase25") | |
98 | #pragma comment(lib,"wxbase25_net") | |
99 | #pragma comment(lib,"wxbase25_xml") | |
100 | #pragma comment(lib,"wxmsw25_adv") | |
101 | #pragma comment(lib,"wxmsw25_core") | |
102 | #pragma comment(lib,"wxmsw25_html") | |
103 | #pragma comment(lib,"wxmsw25_xrc") | |
104 | #endif // debug/release | |
105 | #endif // _UNICODE/!_UNICODE | |
106 | #else | |
107 | #error "This file should only be included when using Microsoft Visual C++" | |
108 | #endif | |
109 |