]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
fixed IO redirection to work in wxExecute() in console applications (including the...
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
5
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):
17
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.
20 -->
21
22 <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats>
23
24
25 <!-- These wildcards match all .bkl files in wxWidgets tree: -->
26 <input>
27 wx.bkl
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
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,watcom
43 </add-formats>
44
45 <del-formats files="../../samples/*.bkl">
46 autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
47 </del-formats>
48 <del-formats files="../../demos/*.bkl">
49 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
50 </del-formats>
51 <del-formats files="../../samples/html/html_samples.bkl">
52 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
53 </del-formats>
54 <del-formats files="../../samples/mobile/mobile_samples.bkl">
55 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
56 </del-formats>
57 <del-formats files="../../samples/opengl/opengl_samples.bkl">
58 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
59 </del-formats>
60 <del-formats files="../../utils/*.bkl">
61 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj
62 </del-formats>
63
64 <!-- WinCE can't have console apps: -->
65 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
66 <del-formats files="../../samples/sockets/*">msevc4prj</del-formats>
67 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
68 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
69 <del-formats files="../../tests/*">msevc4prj</del-formats>
70
71 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
72 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
73 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,watcom
74 </del-formats>
75
76
77 <!-- Default flags (for all formats and bakefiles): -->
78 <add-flags>-Iformats</add-flags>
79
80
81 <!-- Directories where the files go: -->
82 <add-flags files="wx.bkl" formats="autoconf">
83 -o../../Makefile.in
84 </add-flags>
85 <add-flags files="wx.bkl" formats="borland">
86 -o../msw/makefile.bcc
87 </add-flags>
88 <add-flags files="wx.bkl" formats="dmars_smake">
89 -o../msw/makefile.dms
90 </add-flags>
91 <add-flags files="wx.bkl" formats="dmars">
92 -o../msw/makefile.dmc
93 </add-flags>
94 <add-flags files="wx.bkl" formats="mingw">
95 -o../msw/makefile.gcc
96 </add-flags>
97 <add-flags files="wx.bkl" formats="msvc">
98 -o../msw/makefile.vc
99 </add-flags>
100 <add-flags files="wx.bkl" formats="watcom">
101 -o../msw/makefile.wat
102 </add-flags>
103 <add-flags files="wx.bkl" formats="msvc6prj">
104 -o../msw/wx.dsw
105 </add-flags>
106 <add-flags files="wx.bkl" formats="msvs2003prj">
107 -o../msw/wx_vc7.sln
108 </add-flags>
109 <add-flags files="wx.bkl" formats="msvs2005prj">
110 -o../msw/wx_vc8.sln
111 </add-flags>
112 <add-flags files="wx.bkl" formats="msevc4prj">
113 -o../wince/wx.vcw
114 </add-flags>
115
116
117
118 <!-- Format specific settings: -->
119 <add-flags formats="autoconf">
120 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
121 </add-flags>
122
123 <add-formats files="wx.bkl">rpmspec</add-formats>
124
125
126 <!-- Use different names for Visual C++ 2003 project files: -->
127 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
128 formats="msvs2003prj">
129 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
130 </add-flags>
131
132 <!-- Use different names for Visual C++ 2005 project files: -->
133 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
134 formats="msvs2005prj">
135 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
136 </add-flags>
137
138 <!-- Makefile specific settings: -->
139
140 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
141 -DWRITE_OPTIONS_FILE=0
142 </add-flags>
143 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
144 files="wx.bkl">
145 -DWRITE_OPTIONS_FILE=0
146 </del-flags>
147
148 <add-flags files="wx.bkl" formats="borland">
149 -DOPTIONS_FILE=config.bcc
150 </add-flags>
151 <add-flags files="wx.bkl" formats="dmars_smake">
152 -DOPTIONS_FILE=config.dms
153 </add-flags>
154 <add-flags files="wx.bkl" formats="dmars">
155 -DOPTIONS_FILE=config.dmc
156 </add-flags>
157 <add-flags files="wx.bkl" formats="mingw">
158 -DOPTIONS_FILE=config.gcc
159 </add-flags>
160 <add-flags files="wx.bkl" formats="msvc">
161 -DOPTIONS_FILE=config.vc
162 </add-flags>
163 <add-flags files="wx.bkl" formats="watcom">
164 -DOPTIONS_FILE=config.wat
165 </add-flags>
166
167 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
168 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
169 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
170 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
171
172 <add-flags files="../../*/*" formats="borland">
173 -DOPTIONS_FILE=../build/msw/config.bcc
174 </add-flags>
175 <add-flags files="../../*/*" formats="dmars_smake">
176 -DOPTIONS_FILE=../build/msw/config.dms
177 </add-flags>
178 <add-flags files="../../*/*" formats="dmars">
179 -DOPTIONS_FILE=../build/msw/config.dmc
180 </add-flags>
181 <add-flags files="../../*/*" formats="mingw">
182 -DOPTIONS_FILE=../build/msw/config.gcc
183 </add-flags>
184 <add-flags files="../../*/*" formats="msvc">
185 -DOPTIONS_FILE=../build/msw/config.vc
186 </add-flags>
187 <add-flags files="../../*/*" formats="watcom">
188 -DOPTIONS_FILE=../build/msw/config.wat
189 </add-flags>
190 <add-flags files="../../*/*/*" formats="borland">
191 -DOPTIONS_FILE=../../build/msw/config.bcc
192 </add-flags>
193 <add-flags files="../../*/*/*" formats="dmars_smake">
194 -DOPTIONS_FILE=../../build/msw/config.dms
195 </add-flags>
196 <add-flags files="../../*/*/*" formats="dmars">
197 -DOPTIONS_FILE=../../build/msw/config.dmc
198 </add-flags>
199 <add-flags files="../../*/*/*" formats="mingw">
200 -DOPTIONS_FILE=../../build/msw/config.gcc
201 </add-flags>
202 <add-flags files="../../*/*/*" formats="msvc">
203 -DOPTIONS_FILE=../../build/msw/config.vc
204 </add-flags>
205 <add-flags files="../../*/*/*" formats="watcom">
206 -DOPTIONS_FILE=../../build/msw/config.wat
207 </add-flags>
208 <add-flags files="../../*/*/*/*" formats="borland">
209 -DOPTIONS_FILE=../../../build/msw/config.bcc
210 </add-flags>
211 <add-flags files="../../*/*/*/*" formats="dmars_smake">
212 -DOPTIONS_FILE=../../../build/msw/config.dms
213 </add-flags>
214 <add-flags files="../../*/*/*/*" formats="dmars">
215 -DOPTIONS_FILE=../../../build/msw/config.dmc
216 </add-flags>
217 <add-flags files="../../*/*/*/*" formats="mingw">
218 -DOPTIONS_FILE=../../../build/msw/config.gcc
219 </add-flags>
220 <add-flags files="../../*/*/*/*" formats="msvc">
221 -DOPTIONS_FILE=../../../build/msw/config.vc
222 </add-flags>
223 <add-flags files="../../*/*/*/*" formats="watcom">
224 -DOPTIONS_FILE=../../../build/msw/config.wat
225 </add-flags>
226 <add-flags files="../../*/*/*/*/*" formats="borland">
227 -DOPTIONS_FILE=../../../../build/msw/config.bcc
228 </add-flags>
229 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
230 -DOPTIONS_FILE=../../../../build/msw/config.dms
231 </add-flags>
232 <add-flags files="../../*/*/*/*/*" formats="dmars">
233 -DOPTIONS_FILE=../../../../build/msw/config.dmc
234 </add-flags>
235 <add-flags files="../../*/*/*/*/*" formats="mingw">
236 -DOPTIONS_FILE=../../../../build/msw/config.gcc
237 </add-flags>
238 <add-flags files="../../*/*/*/*/*" formats="msvc">
239 -DOPTIONS_FILE=../../../../build/msw/config.vc
240 </add-flags>
241 <add-flags files="../../*/*/*/*/*" formats="watcom">
242 -DOPTIONS_FILE=../../../../build/msw/config.wat
243 </add-flags>
244
245
246 <!-- Makefiles for out-of-tree building of samples on Unix: -->
247 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
248 gnu
249 </add-formats>
250 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
251 formats="gnu">
252 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
253 </add-flags>
254
255 <!-- Personal customizations (not in CVS): -->
256 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
257
258 </bakefile-gen>