]>
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 | |
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 | |
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") | |
3b422a88 VZ |
39 | #pragma comment(lib,"wxbase26ud") |
40 | #pragma comment(lib,"wxbase26ud_net") | |
41 | #pragma comment(lib,"wxbase26ud_xml") | |
42 | #pragma comment(lib,"wxmsw26ud_adv") | |
43 | #pragma comment(lib,"wxmsw26ud_core") | |
44 | #pragma comment(lib,"wxmsw26ud_html") | |
45 | #pragma comment(lib,"wxmsw26ud_qa") | |
46 | #pragma comment(lib,"wxmsw26ud_xrc") | |
e5099bdf VZ |
47 | #else // release |
48 | #pragma comment(lib,"wxexpat") | |
49 | #pragma comment(lib,"wxjpeg") | |
50 | #pragma comment(lib,"wxpng") | |
51 | #pragma comment(lib,"wxregexu") | |
52 | #pragma comment(lib,"wxtiff") | |
53 | #pragma comment(lib,"wxzlib") | |
3b422a88 VZ |
54 | #pragma comment(lib,"wxbase26u") |
55 | #pragma comment(lib,"wxbase26u_net") | |
56 | #pragma comment(lib,"wxbase26u_xml") | |
57 | #pragma comment(lib,"wxmsw26u_adv") | |
58 | #pragma comment(lib,"wxmsw26u_core") | |
59 | #pragma comment(lib,"wxmsw26u_html") | |
60 | #pragma comment(lib,"wxmsw26u_qa") | |
61 | #pragma comment(lib,"wxmsw26u_xrc") | |
e5099bdf VZ |
62 | #endif // debug/release |
63 | #else // !_UNICODE | |
64 | #ifdef WXUSINGDLL | |
65 | #ifdef _DEBUG | |
9fa2da4a | 66 | #include "../../../lib/vc_dll/mswd/wx/setup.h" |
e5099bdf | 67 | #else |
9fa2da4a | 68 | #include "../../../lib/vc_dll/msw/wx/setup.h" |
e5099bdf VZ |
69 | #endif |
70 | #else // static lib | |
71 | #ifdef _DEBUG | |
9fa2da4a | 72 | #include "../../../lib/vc_lib/mswd/wx/setup.h" |
e5099bdf | 73 | #else |
9fa2da4a | 74 | #include "../../../lib/vc_lib/msw/wx/setup.h" |
e5099bdf VZ |
75 | #endif |
76 | #endif // shared/static | |
77 | ||
78 | #ifdef _DEBUG | |
79 | #pragma comment(lib,"wxexpatd") | |
80 | #pragma comment(lib,"wxjpegd") | |
81 | #pragma comment(lib,"wxpngd") | |
82 | #pragma comment(lib,"wxregexd") | |
83 | #pragma comment(lib,"wxtiffd") | |
84 | #pragma comment(lib,"wxzlibd") | |
3b422a88 VZ |
85 | #pragma comment(lib,"wxbase26d") |
86 | #pragma comment(lib,"wxbase26d_net") | |
87 | #pragma comment(lib,"wxbase26d_xml") | |
88 | #pragma comment(lib,"wxmsw26d_adv") | |
89 | #pragma comment(lib,"wxmsw26d_core") | |
90 | #pragma comment(lib,"wxmsw26d_html") | |
91 | #pragma comment(lib,"wxmsw26d_qa") | |
92 | #pragma comment(lib,"wxmsw26d_xrc") | |
e5099bdf VZ |
93 | #else // release |
94 | #pragma comment(lib,"wxexpat") | |
95 | #pragma comment(lib,"wxjpeg") | |
96 | #pragma comment(lib,"wxpng") | |
97 | #pragma comment(lib,"wxregex") | |
98 | #pragma comment(lib,"wxtiff") | |
99 | #pragma comment(lib,"wxzlib") | |
3b422a88 VZ |
100 | #pragma comment(lib,"wxbase26") |
101 | #pragma comment(lib,"wxbase26_net") | |
102 | #pragma comment(lib,"wxbase26_xml") | |
103 | #pragma comment(lib,"wxmsw26_adv") | |
104 | #pragma comment(lib,"wxmsw26_core") | |
105 | #pragma comment(lib,"wxmsw26_html") | |
106 | #pragma comment(lib,"wxmsw26_qa") | |
107 | #pragma comment(lib,"wxmsw26_xrc") | |
e5099bdf VZ |
108 | #endif // debug/release |
109 | #endif // _UNICODE/!_UNICODE | |
110 | #else | |
111 | #error "This file should only be included when using Microsoft Visual C++" | |
112 | #endif | |
113 |