]>
Commit | Line | Data |
---|---|---|
3629838a VS |
1 | <?xml version="1.0" ?> |
2 | <!-- $Id$ --> | |
3 | ||
188ae864 | 4 | <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen"> |
3629838a | 5 | |
328f5196 VS |
6 | <!-- |
7 | Formats listed here are not generated by default. To enable them, either | |
8 | remove them from the <disable-formats> directive below or create | |
9 | Bakefiles.local.bkgen file in this directory and add <enable-formats> | |
10 | into it: | |
11 | <?xml version="1.0" ?> | |
12 | <bakefile-gen> | |
13 | <enable-formats>dmars</enable-formats> | |
14 | </bakefile-gen> | |
15 | ||
16 | Reasons why these formats are disabled (and so not in CVS): | |
07319f2a | 17 | |
da001833 KO |
18 | dmars, dmars_smake, msevc4prj - These are generated at release time and |
19 | we don't want to clutter the source tree with these files. | |
328f5196 | 20 | --> |
07319f2a | 21 | |
2275c732 | 22 | <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats> |
07319f2a | 23 | |
328f5196 | 24 | |
77ffb593 | 25 | <!-- These wildcards match all .bkl files in wxWidgets tree: --> |
3629838a VS |
26 | <input> |
27 | wx.bkl | |
3629838a VS |
28 | ../../samples/*.bkl |
29 | ../../samples/*/*.bkl | |
30 | ../../samples/*/*/*.bkl | |
31 | ../../demos/*.bkl | |
32 | ../../demos/*/*.bkl | |
33 | ../../demos/*/*/*.bkl | |
34 | ../../utils/*.bkl | |
35 | ../../utils/*/*.bkl | |
36 | ../../utils/*/*/*.bkl | |
670ec357 | 37 | ../../tests/*.bkl |
51be4a55 | 38 | ../../tests/*/*.bkl |
3629838a VS |
39 | </input> |
40 | ||
41 | <!-- List of output formats to generate: --> | |
328f5196 | 42 | <add-formats> |
7da8bfe3 | 43 | autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom |
328f5196 | 44 | </add-formats> |
07319f2a | 45 | |
328f5196 | 46 | <del-formats files="../../samples/*.bkl"> |
7da8bfe3 | 47 | autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
48 | </del-formats> |
49 | <del-formats files="../../demos/*.bkl"> | |
7da8bfe3 | 50 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
51 | </del-formats> |
52 | <del-formats files="../../samples/html/html_samples.bkl"> | |
7da8bfe3 | 53 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 | 54 | </del-formats> |
328f5196 | 55 | <del-formats files="../../samples/opengl/opengl_samples.bkl"> |
7da8bfe3 | 56 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
57 | </del-formats> |
58 | <del-formats files="../../utils/*.bkl"> | |
7da8bfe3 | 59 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 | 60 | </del-formats> |
3629838a | 61 | |
eeb07a33 VS |
62 | <!-- WinCE can't have console apps: --> |
63 | <del-formats files="../../samples/console/*">msevc4prj</del-formats> | |
2e3d68e9 | 64 | <del-formats files="../../samples/sockets/*">msevc4prj</del-formats> |
eeb07a33 | 65 | <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats> |
de948fb3 | 66 | <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats> |
541cbfa0 | 67 | <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats> |
eeb07a33 VS |
68 | <del-formats files="../../tests/*">msevc4prj</del-formats> |
69 | ||
07319f2a WS |
70 | <!-- HtmlCtrl sample is Cocoa only (autoconf format) --> |
71 | <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl"> | |
7da8bfe3 | 72 | borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom |
07319f2a WS |
73 | </del-formats> |
74 | ||
75 | ||
3629838a | 76 | <!-- Default flags (for all formats and bakefiles): --> |
8ce0312e | 77 | <add-flags>-Iformats</add-flags> |
07319f2a WS |
78 | |
79 | ||
3629838a VS |
80 | <!-- Directories where the files go: --> |
81 | <add-flags files="wx.bkl" formats="autoconf"> | |
82 | -o../../Makefile.in | |
83 | </add-flags> | |
84 | <add-flags files="wx.bkl" formats="borland"> | |
85 | -o../msw/makefile.bcc | |
86 | </add-flags> | |
d6cb2e49 VS |
87 | <add-flags files="wx.bkl" formats="dmars_smake"> |
88 | -o../msw/makefile.dms | |
89 | </add-flags> | |
e6e885fd VS |
90 | <add-flags files="wx.bkl" formats="dmars"> |
91 | -o../msw/makefile.dmc | |
92 | </add-flags> | |
3629838a VS |
93 | <add-flags files="wx.bkl" formats="mingw"> |
94 | -o../msw/makefile.gcc | |
95 | </add-flags> | |
96 | <add-flags files="wx.bkl" formats="msvc"> | |
97 | -o../msw/makefile.vc | |
98 | </add-flags> | |
99 | <add-flags files="wx.bkl" formats="watcom"> | |
100 | -o../msw/makefile.wat | |
101 | </add-flags> | |
102 | <add-flags files="wx.bkl" formats="msvc6prj"> | |
103 | -o../msw/wx.dsw | |
104 | </add-flags> | |
7a4fa569 VS |
105 | <add-flags files="wx.bkl" formats="msvs2003prj"> |
106 | -o../msw/wx_vc7.sln | |
107 | </add-flags> | |
e662c315 VS |
108 | <add-flags files="wx.bkl" formats="msvs2005prj"> |
109 | -o../msw/wx_vc8.sln | |
110 | </add-flags> | |
7da8bfe3 VZ |
111 | <add-flags files="wx.bkl" formats="msvs2008prj"> |
112 | -o../msw/wx_vc9.sln | |
113 | </add-flags> | |
af594eca VS |
114 | <add-flags files="wx.bkl" formats="msevc4prj"> |
115 | -o../wince/wx.vcw | |
116 | </add-flags> | |
3629838a | 117 | |
07319f2a | 118 | |
3629838a VS |
119 | |
120 | <!-- Format specific settings: --> | |
121 | <add-flags formats="autoconf"> | |
122 | -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 | |
123 | </add-flags> | |
124 | ||
d10382ab | 125 | <add-formats files="wx.bkl">rpmspec</add-formats> |
3629838a | 126 | |
de948fb3 | 127 | |
7da8bfe3 | 128 | <!-- Use different names for Visual C++ 200x project files: --> |
51be4a55 | 129 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
7a4fa569 VS |
130 | formats="msvs2003prj"> |
131 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln | |
132 | </add-flags> | |
51be4a55 | 133 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
e662c315 VS |
134 | formats="msvs2005prj"> |
135 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln | |
136 | </add-flags> | |
51be4a55 | 137 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
7da8bfe3 VZ |
138 | formats="msvs2008prj"> |
139 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln | |
140 | </add-flags> | |
3629838a VS |
141 | |
142 | <!-- Makefile specific settings: --> | |
143 | ||
d6cb2e49 | 144 | <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"> |
3629838a VS |
145 | -DWRITE_OPTIONS_FILE=0 |
146 | </add-flags> | |
22ca9ff5 VS |
147 | <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom" |
148 | files="wx.bkl"> | |
3629838a VS |
149 | -DWRITE_OPTIONS_FILE=0 |
150 | </del-flags> | |
07319f2a | 151 | |
3629838a VS |
152 | <add-flags files="wx.bkl" formats="borland"> |
153 | -DOPTIONS_FILE=config.bcc | |
154 | </add-flags> | |
d6cb2e49 VS |
155 | <add-flags files="wx.bkl" formats="dmars_smake"> |
156 | -DOPTIONS_FILE=config.dms | |
157 | </add-flags> | |
7d88f099 VS |
158 | <add-flags files="wx.bkl" formats="dmars"> |
159 | -DOPTIONS_FILE=config.dmc | |
160 | </add-flags> | |
3629838a VS |
161 | <add-flags files="wx.bkl" formats="mingw"> |
162 | -DOPTIONS_FILE=config.gcc | |
163 | </add-flags> | |
164 | <add-flags files="wx.bkl" formats="msvc"> | |
165 | -DOPTIONS_FILE=config.vc | |
166 | </add-flags> | |
167 | <add-flags files="wx.bkl" formats="watcom"> | |
168 | -DOPTIONS_FILE=config.wat | |
169 | </add-flags> | |
170 | ||
171 | <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags> | |
172 | <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags> | |
173 | <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags> | |
174 | <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags> | |
07319f2a | 175 | |
3629838a VS |
176 | <add-flags files="../../*/*" formats="borland"> |
177 | -DOPTIONS_FILE=../build/msw/config.bcc | |
178 | </add-flags> | |
d6cb2e49 VS |
179 | <add-flags files="../../*/*" formats="dmars_smake"> |
180 | -DOPTIONS_FILE=../build/msw/config.dms | |
181 | </add-flags> | |
7d88f099 VS |
182 | <add-flags files="../../*/*" formats="dmars"> |
183 | -DOPTIONS_FILE=../build/msw/config.dmc | |
184 | </add-flags> | |
3629838a VS |
185 | <add-flags files="../../*/*" formats="mingw"> |
186 | -DOPTIONS_FILE=../build/msw/config.gcc | |
187 | </add-flags> | |
188 | <add-flags files="../../*/*" formats="msvc"> | |
189 | -DOPTIONS_FILE=../build/msw/config.vc | |
190 | </add-flags> | |
191 | <add-flags files="../../*/*" formats="watcom"> | |
192 | -DOPTIONS_FILE=../build/msw/config.wat | |
193 | </add-flags> | |
194 | <add-flags files="../../*/*/*" formats="borland"> | |
195 | -DOPTIONS_FILE=../../build/msw/config.bcc | |
196 | </add-flags> | |
d6cb2e49 VS |
197 | <add-flags files="../../*/*/*" formats="dmars_smake"> |
198 | -DOPTIONS_FILE=../../build/msw/config.dms | |
199 | </add-flags> | |
7d88f099 VS |
200 | <add-flags files="../../*/*/*" formats="dmars"> |
201 | -DOPTIONS_FILE=../../build/msw/config.dmc | |
202 | </add-flags> | |
3629838a VS |
203 | <add-flags files="../../*/*/*" formats="mingw"> |
204 | -DOPTIONS_FILE=../../build/msw/config.gcc | |
205 | </add-flags> | |
206 | <add-flags files="../../*/*/*" formats="msvc"> | |
207 | -DOPTIONS_FILE=../../build/msw/config.vc | |
208 | </add-flags> | |
209 | <add-flags files="../../*/*/*" formats="watcom"> | |
210 | -DOPTIONS_FILE=../../build/msw/config.wat | |
211 | </add-flags> | |
212 | <add-flags files="../../*/*/*/*" formats="borland"> | |
213 | -DOPTIONS_FILE=../../../build/msw/config.bcc | |
214 | </add-flags> | |
d6cb2e49 VS |
215 | <add-flags files="../../*/*/*/*" formats="dmars_smake"> |
216 | -DOPTIONS_FILE=../../../build/msw/config.dms | |
217 | </add-flags> | |
7d88f099 VS |
218 | <add-flags files="../../*/*/*/*" formats="dmars"> |
219 | -DOPTIONS_FILE=../../../build/msw/config.dmc | |
220 | </add-flags> | |
3629838a VS |
221 | <add-flags files="../../*/*/*/*" formats="mingw"> |
222 | -DOPTIONS_FILE=../../../build/msw/config.gcc | |
223 | </add-flags> | |
224 | <add-flags files="../../*/*/*/*" formats="msvc"> | |
225 | -DOPTIONS_FILE=../../../build/msw/config.vc | |
226 | </add-flags> | |
227 | <add-flags files="../../*/*/*/*" formats="watcom"> | |
228 | -DOPTIONS_FILE=../../../build/msw/config.wat | |
229 | </add-flags> | |
230 | <add-flags files="../../*/*/*/*/*" formats="borland"> | |
231 | -DOPTIONS_FILE=../../../../build/msw/config.bcc | |
232 | </add-flags> | |
d6cb2e49 VS |
233 | <add-flags files="../../*/*/*/*/*" formats="dmars_smake"> |
234 | -DOPTIONS_FILE=../../../../build/msw/config.dms | |
235 | </add-flags> | |
7d88f099 VS |
236 | <add-flags files="../../*/*/*/*/*" formats="dmars"> |
237 | -DOPTIONS_FILE=../../../../build/msw/config.dmc | |
238 | </add-flags> | |
3629838a VS |
239 | <add-flags files="../../*/*/*/*/*" formats="mingw"> |
240 | -DOPTIONS_FILE=../../../../build/msw/config.gcc | |
241 | </add-flags> | |
242 | <add-flags files="../../*/*/*/*/*" formats="msvc"> | |
243 | -DOPTIONS_FILE=../../../../build/msw/config.vc | |
244 | </add-flags> | |
245 | <add-flags files="../../*/*/*/*/*" formats="watcom"> | |
246 | -DOPTIONS_FILE=../../../../build/msw/config.wat | |
247 | </add-flags> | |
248 | ||
de948fb3 | 249 | |
1f9e3582 VS |
250 | <!-- Makefiles for out-of-tree building of samples on Unix: --> |
251 | <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"> | |
252 | gnu | |
253 | </add-formats> | |
254 | <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl" | |
255 | formats="gnu"> | |
256 | -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx | |
257 | </add-flags> | |
3629838a VS |
258 | |
259 | <!-- Personal customizations (not in CVS): --> | |
0b92df79 | 260 | <include file="Bakefiles.local.bkgen" ignore_missing="1"/> |
3629838a VS |
261 | |
262 | </bakefile-gen> |