]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
inside <wx-data> we need to use instead of /
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
CommitLineData
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
dc2ae355 38 ../../tests/benchmarks/bench.bkl
3629838a
VS
39 </input>
40
41 <!-- List of output formats to generate: -->
328f5196 42 <add-formats>
7a4fa569 43 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,watcom
328f5196 44 </add-formats>
07319f2a 45
328f5196 46 <del-formats files="../../samples/*.bkl">
7a4fa569 47 autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196
VS
48 </del-formats>
49 <del-formats files="../../demos/*.bkl">
7a4fa569 50 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196
VS
51 </del-formats>
52 <del-formats files="../../samples/html/html_samples.bkl">
7a4fa569 53 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196
VS
54 </del-formats>
55 <del-formats files="../../samples/mobile/mobile_samples.bkl">
7a4fa569 56 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196
VS
57 </del-formats>
58 <del-formats files="../../samples/opengl/opengl_samples.bkl">
7a4fa569 59 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196
VS
60 </del-formats>
61 <del-formats files="../../utils/*.bkl">
7a4fa569 62 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
328f5196 63 </del-formats>
3629838a 64
eeb07a33
VS
65 <!-- WinCE can't have console apps: -->
66 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
2e3d68e9 67 <del-formats files="../../samples/sockets/*">msevc4prj</del-formats>
eeb07a33 68 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
de948fb3 69 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
541cbfa0 70 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
eeb07a33
VS
71 <del-formats files="../../tests/*">msevc4prj</del-formats>
72
07319f2a
WS
73 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
74 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
7a4fa569 75 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,watcom
07319f2a
WS
76 </del-formats>
77
78
3629838a 79 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 80 <add-flags>-Iformats</add-flags>
07319f2a
WS
81
82
3629838a
VS
83 <!-- Directories where the files go: -->
84 <add-flags files="wx.bkl" formats="autoconf">
85 -o../../Makefile.in
86 </add-flags>
87 <add-flags files="wx.bkl" formats="borland">
88 -o../msw/makefile.bcc
89 </add-flags>
d6cb2e49
VS
90 <add-flags files="wx.bkl" formats="dmars_smake">
91 -o../msw/makefile.dms
92 </add-flags>
e6e885fd
VS
93 <add-flags files="wx.bkl" formats="dmars">
94 -o../msw/makefile.dmc
95 </add-flags>
3629838a
VS
96 <add-flags files="wx.bkl" formats="mingw">
97 -o../msw/makefile.gcc
98 </add-flags>
99 <add-flags files="wx.bkl" formats="msvc">
100 -o../msw/makefile.vc
101 </add-flags>
102 <add-flags files="wx.bkl" formats="watcom">
103 -o../msw/makefile.wat
104 </add-flags>
105 <add-flags files="wx.bkl" formats="msvc6prj">
106 -o../msw/wx.dsw
107 </add-flags>
7a4fa569
VS
108 <add-flags files="wx.bkl" formats="msvs2003prj">
109 -o../msw/wx_vc7.sln
110 </add-flags>
e662c315
VS
111 <add-flags files="wx.bkl" formats="msvs2005prj">
112 -o../msw/wx_vc8.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
7a4fa569
VS
128 <!-- Use different names for Visual C++ 2003 project files: -->
129 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
130 formats="msvs2003prj">
131 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
132 </add-flags>
de948fb3 133
e662c315
VS
134 <!-- Use different names for Visual C++ 2005 project files: -->
135 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
136 formats="msvs2005prj">
137 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
138 </add-flags>
3629838a
VS
139
140 <!-- Makefile specific settings: -->
141
d6cb2e49 142 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
143 -DWRITE_OPTIONS_FILE=0
144 </add-flags>
22ca9ff5
VS
145 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
146 files="wx.bkl">
3629838a
VS
147 -DWRITE_OPTIONS_FILE=0
148 </del-flags>
07319f2a 149
3629838a
VS
150 <add-flags files="wx.bkl" formats="borland">
151 -DOPTIONS_FILE=config.bcc
152 </add-flags>
d6cb2e49
VS
153 <add-flags files="wx.bkl" formats="dmars_smake">
154 -DOPTIONS_FILE=config.dms
155 </add-flags>
7d88f099
VS
156 <add-flags files="wx.bkl" formats="dmars">
157 -DOPTIONS_FILE=config.dmc
158 </add-flags>
3629838a
VS
159 <add-flags files="wx.bkl" formats="mingw">
160 -DOPTIONS_FILE=config.gcc
161 </add-flags>
162 <add-flags files="wx.bkl" formats="msvc">
163 -DOPTIONS_FILE=config.vc
164 </add-flags>
165 <add-flags files="wx.bkl" formats="watcom">
166 -DOPTIONS_FILE=config.wat
167 </add-flags>
168
169 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
170 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
171 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
172 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
07319f2a 173
3629838a
VS
174 <add-flags files="../../*/*" formats="borland">
175 -DOPTIONS_FILE=../build/msw/config.bcc
176 </add-flags>
d6cb2e49
VS
177 <add-flags files="../../*/*" formats="dmars_smake">
178 -DOPTIONS_FILE=../build/msw/config.dms
179 </add-flags>
7d88f099
VS
180 <add-flags files="../../*/*" formats="dmars">
181 -DOPTIONS_FILE=../build/msw/config.dmc
182 </add-flags>
3629838a
VS
183 <add-flags files="../../*/*" formats="mingw">
184 -DOPTIONS_FILE=../build/msw/config.gcc
185 </add-flags>
186 <add-flags files="../../*/*" formats="msvc">
187 -DOPTIONS_FILE=../build/msw/config.vc
188 </add-flags>
189 <add-flags files="../../*/*" formats="watcom">
190 -DOPTIONS_FILE=../build/msw/config.wat
191 </add-flags>
192 <add-flags files="../../*/*/*" formats="borland">
193 -DOPTIONS_FILE=../../build/msw/config.bcc
194 </add-flags>
d6cb2e49
VS
195 <add-flags files="../../*/*/*" formats="dmars_smake">
196 -DOPTIONS_FILE=../../build/msw/config.dms
197 </add-flags>
7d88f099
VS
198 <add-flags files="../../*/*/*" formats="dmars">
199 -DOPTIONS_FILE=../../build/msw/config.dmc
200 </add-flags>
3629838a
VS
201 <add-flags files="../../*/*/*" formats="mingw">
202 -DOPTIONS_FILE=../../build/msw/config.gcc
203 </add-flags>
204 <add-flags files="../../*/*/*" formats="msvc">
205 -DOPTIONS_FILE=../../build/msw/config.vc
206 </add-flags>
207 <add-flags files="../../*/*/*" formats="watcom">
208 -DOPTIONS_FILE=../../build/msw/config.wat
209 </add-flags>
210 <add-flags files="../../*/*/*/*" formats="borland">
211 -DOPTIONS_FILE=../../../build/msw/config.bcc
212 </add-flags>
d6cb2e49
VS
213 <add-flags files="../../*/*/*/*" formats="dmars_smake">
214 -DOPTIONS_FILE=../../../build/msw/config.dms
215 </add-flags>
7d88f099
VS
216 <add-flags files="../../*/*/*/*" formats="dmars">
217 -DOPTIONS_FILE=../../../build/msw/config.dmc
218 </add-flags>
3629838a
VS
219 <add-flags files="../../*/*/*/*" formats="mingw">
220 -DOPTIONS_FILE=../../../build/msw/config.gcc
221 </add-flags>
222 <add-flags files="../../*/*/*/*" formats="msvc">
223 -DOPTIONS_FILE=../../../build/msw/config.vc
224 </add-flags>
225 <add-flags files="../../*/*/*/*" formats="watcom">
226 -DOPTIONS_FILE=../../../build/msw/config.wat
227 </add-flags>
228 <add-flags files="../../*/*/*/*/*" formats="borland">
229 -DOPTIONS_FILE=../../../../build/msw/config.bcc
230 </add-flags>
d6cb2e49
VS
231 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
232 -DOPTIONS_FILE=../../../../build/msw/config.dms
233 </add-flags>
7d88f099
VS
234 <add-flags files="../../*/*/*/*/*" formats="dmars">
235 -DOPTIONS_FILE=../../../../build/msw/config.dmc
236 </add-flags>
3629838a
VS
237 <add-flags files="../../*/*/*/*/*" formats="mingw">
238 -DOPTIONS_FILE=../../../../build/msw/config.gcc
239 </add-flags>
240 <add-flags files="../../*/*/*/*/*" formats="msvc">
241 -DOPTIONS_FILE=../../../../build/msw/config.vc
242 </add-flags>
243 <add-flags files="../../*/*/*/*/*" formats="watcom">
244 -DOPTIONS_FILE=../../../../build/msw/config.wat
245 </add-flags>
246
de948fb3 247
1f9e3582
VS
248 <!-- Makefiles for out-of-tree building of samples on Unix: -->
249 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
250 gnu
251 </add-formats>
252 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
253 formats="gnu">
254 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
255 </add-flags>
3629838a
VS
256
257 <!-- Personal customizations (not in CVS): -->
0b92df79 258 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
259
260</bakefile-gen>