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