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