]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
[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>
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
VS
54 </del-formats>
55 <del-formats files="../../samples/mobile/mobile_samples.bkl">
7da8bfe3 56 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196
VS
57 </del-formats>
58 <del-formats files="../../samples/opengl/opengl_samples.bkl">
7da8bfe3 59 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196
VS
60 </del-formats>
61 <del-formats files="../../utils/*.bkl">
7da8bfe3 62 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
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">
7da8bfe3 75 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,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>
7da8bfe3
VZ
114 <add-flags files="wx.bkl" formats="msvs2008prj">
115 -o../msw/wx_vc9.sln
116 </add-flags>
af594eca
VS
117 <add-flags files="wx.bkl" formats="msevc4prj">
118 -o../wince/wx.vcw
119 </add-flags>
3629838a 120
07319f2a 121
3629838a
VS
122
123 <!-- Format specific settings: -->
124 <add-flags formats="autoconf">
125 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
126 </add-flags>
127
d10382ab 128 <add-formats files="wx.bkl">rpmspec</add-formats>
3629838a 129
de948fb3 130
7da8bfe3 131 <!-- Use different names for Visual C++ 200x project files: -->
7a4fa569
VS
132 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
133 formats="msvs2003prj">
134 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
135 </add-flags>
e662c315
VS
136 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
137 formats="msvs2005prj">
138 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
139 </add-flags>
7da8bfe3
VZ
140 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*"
141 formats="msvs2008prj">
142 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
143 </add-flags>
3629838a
VS
144
145 <!-- Makefile specific settings: -->
146
d6cb2e49 147 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
148 -DWRITE_OPTIONS_FILE=0
149 </add-flags>
22ca9ff5
VS
150 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
151 files="wx.bkl">
3629838a
VS
152 -DWRITE_OPTIONS_FILE=0
153 </del-flags>
07319f2a 154
3629838a
VS
155 <add-flags files="wx.bkl" formats="borland">
156 -DOPTIONS_FILE=config.bcc
157 </add-flags>
d6cb2e49
VS
158 <add-flags files="wx.bkl" formats="dmars_smake">
159 -DOPTIONS_FILE=config.dms
160 </add-flags>
7d88f099
VS
161 <add-flags files="wx.bkl" formats="dmars">
162 -DOPTIONS_FILE=config.dmc
163 </add-flags>
3629838a
VS
164 <add-flags files="wx.bkl" formats="mingw">
165 -DOPTIONS_FILE=config.gcc
166 </add-flags>
167 <add-flags files="wx.bkl" formats="msvc">
168 -DOPTIONS_FILE=config.vc
169 </add-flags>
170 <add-flags files="wx.bkl" formats="watcom">
171 -DOPTIONS_FILE=config.wat
172 </add-flags>
173
174 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
175 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
176 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
177 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
07319f2a 178
3629838a
VS
179 <add-flags files="../../*/*" formats="borland">
180 -DOPTIONS_FILE=../build/msw/config.bcc
181 </add-flags>
d6cb2e49
VS
182 <add-flags files="../../*/*" formats="dmars_smake">
183 -DOPTIONS_FILE=../build/msw/config.dms
184 </add-flags>
7d88f099
VS
185 <add-flags files="../../*/*" formats="dmars">
186 -DOPTIONS_FILE=../build/msw/config.dmc
187 </add-flags>
3629838a
VS
188 <add-flags files="../../*/*" formats="mingw">
189 -DOPTIONS_FILE=../build/msw/config.gcc
190 </add-flags>
191 <add-flags files="../../*/*" formats="msvc">
192 -DOPTIONS_FILE=../build/msw/config.vc
193 </add-flags>
194 <add-flags files="../../*/*" formats="watcom">
195 -DOPTIONS_FILE=../build/msw/config.wat
196 </add-flags>
197 <add-flags files="../../*/*/*" formats="borland">
198 -DOPTIONS_FILE=../../build/msw/config.bcc
199 </add-flags>
d6cb2e49
VS
200 <add-flags files="../../*/*/*" formats="dmars_smake">
201 -DOPTIONS_FILE=../../build/msw/config.dms
202 </add-flags>
7d88f099
VS
203 <add-flags files="../../*/*/*" formats="dmars">
204 -DOPTIONS_FILE=../../build/msw/config.dmc
205 </add-flags>
3629838a
VS
206 <add-flags files="../../*/*/*" formats="mingw">
207 -DOPTIONS_FILE=../../build/msw/config.gcc
208 </add-flags>
209 <add-flags files="../../*/*/*" formats="msvc">
210 -DOPTIONS_FILE=../../build/msw/config.vc
211 </add-flags>
212 <add-flags files="../../*/*/*" formats="watcom">
213 -DOPTIONS_FILE=../../build/msw/config.wat
214 </add-flags>
215 <add-flags files="../../*/*/*/*" formats="borland">
216 -DOPTIONS_FILE=../../../build/msw/config.bcc
217 </add-flags>
d6cb2e49
VS
218 <add-flags files="../../*/*/*/*" formats="dmars_smake">
219 -DOPTIONS_FILE=../../../build/msw/config.dms
220 </add-flags>
7d88f099
VS
221 <add-flags files="../../*/*/*/*" formats="dmars">
222 -DOPTIONS_FILE=../../../build/msw/config.dmc
223 </add-flags>
3629838a
VS
224 <add-flags files="../../*/*/*/*" formats="mingw">
225 -DOPTIONS_FILE=../../../build/msw/config.gcc
226 </add-flags>
227 <add-flags files="../../*/*/*/*" formats="msvc">
228 -DOPTIONS_FILE=../../../build/msw/config.vc
229 </add-flags>
230 <add-flags files="../../*/*/*/*" formats="watcom">
231 -DOPTIONS_FILE=../../../build/msw/config.wat
232 </add-flags>
233 <add-flags files="../../*/*/*/*/*" formats="borland">
234 -DOPTIONS_FILE=../../../../build/msw/config.bcc
235 </add-flags>
d6cb2e49
VS
236 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
237 -DOPTIONS_FILE=../../../../build/msw/config.dms
238 </add-flags>
7d88f099
VS
239 <add-flags files="../../*/*/*/*/*" formats="dmars">
240 -DOPTIONS_FILE=../../../../build/msw/config.dmc
241 </add-flags>
3629838a
VS
242 <add-flags files="../../*/*/*/*/*" formats="mingw">
243 -DOPTIONS_FILE=../../../../build/msw/config.gcc
244 </add-flags>
245 <add-flags files="../../*/*/*/*/*" formats="msvc">
246 -DOPTIONS_FILE=../../../../build/msw/config.vc
247 </add-flags>
248 <add-flags files="../../*/*/*/*/*" formats="watcom">
249 -DOPTIONS_FILE=../../../../build/msw/config.wat
250 </add-flags>
251
de948fb3 252
1f9e3582
VS
253 <!-- Makefiles for out-of-tree building of samples on Unix: -->
254 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
255 gnu
256 </add-formats>
257 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
258 formats="gnu">
259 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
260 </add-flags>
3629838a
VS
261
262 <!-- Personal customizations (not in CVS): -->
0b92df79 263 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
264
265</bakefile-gen>