6 <set var=
"BUILDING_LIB" overwrite=
"0">0</set>
10 <values-description>,DLL
</values-description>
11 <default-value>0</default-value>
13 What type of library to build?
17 <option name=
"WXUNIV">
19 <values-description>,Universal
</values-description>
20 <default-value>0</default-value>
22 Build wxUniversal instead of native port?
26 <option name=
"UNICODE">
28 <values-description>,Unicode
</values-description>
29 <default-value>0</default-value>
31 Compile Unicode build of wxWindows?
35 <if cond=
"FORMAT!='autoconf' and FORMAT!='watcom'">
38 <default-value>0</default-value>
40 Use MSLU library when building Unicode version.
44 <if cond=
"FORMAT=='autoconf' or FORMAT=='watcom'">
45 <set var=
"MSLU">0</set>
49 <values>debug,release
</values>
50 <values-description>Debug,Release
</values-description>
51 <default-value>debug
</default-value>
53 Type of compiled binaries
57 <option name=
"DEBUG_INFO">
58 <values>0,
1,default
</values>
59 <default-value>default
</default-value>
61 Should debugging info be included in the executables? The default value
62 "default" means that debug info will be included if BUILD=debug
63 and not included if BUILD=release.
67 <option name=
"DEBUG_FLAG">
68 <values>0,
1,default
</values>
69 <default-value>default
</default-value>
71 Should __WXDEBUG__ be defined? The default value "default" means that it will
72 be defined if BUILD=debug and not defined if BUILD=release.
76 <if cond=
"FORMAT=='msvc'">
77 <option name=
"DEBUG_RUNTIME_LIBS">
78 <values>0,
1,default
</values>
79 <default-value>default
</default-value>
81 Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
82 Acts according to DEBUG_INFO by default.
86 <if cond=
"FORMAT!='msvc'">
87 <set var=
"DEBUG_RUNTIME_LIBS">default
</set>
90 <option name=
"MONOLITHIC">
92 <values-description>Multilib,Monolithic
</values-description>
93 <default-value>0</default-value>
95 Multiple libraries or single huge monolithic one?
99 <option name=
"USE_GUI">
101 <values-description>Base,GUI
</values-description>
102 <default-value>1</default-value>
108 <option name=
"USE_HTML">
110 <default-value>1</default-value>
112 Build wxHTML library (USE_GUI must be
1)?
116 <option name=
"USE_OPENGL">
118 <default-value>0</default-value>
120 Build OpenGL canvas library (USE_GUI must be
1)?
124 <option name=
"USE_ODBC">
126 <default-value>0</default-value>
128 Build ODBC database classes (USE_GUI must be
1)?
132 <option name=
"OFFICIAL_BUILD">
134 <default-value>0</default-value>
136 Is this official build by wxWindows developers?
139 <option name=
"VENDOR">
140 <default-value>custom
</default-value>
142 Use this to name your customized DLLs differently
147 <default-value></default-value>
149 Name of your custom configuration. This affects directory
150 where object files are stored as well as the location of
151 compiled .lib files and setup.h under the lib/ toplevel directory.
156 <!-- ================================================================== -->
158 <!-- ================================================================== -->
160 <if cond=
"FORMAT=='autoconf'">
161 <option name=
"DEREZ"/>
162 <option name=
"TOOLKIT"/>
163 <option name=
"TOOLKIT_LOWERCASE"/>
164 <option name=
"TOOLKIT_VERSION"/>
165 <option name=
"TOOLCHAIN_NAME"/>
166 <option name=
"EXTRALIBS"/>
167 <option name=
"EXTRALIBS_XML"/>
168 <option name=
"EXTRALIBS_ODBC"/>
169 <option name=
"EXTRALIBS_GUI"/>
170 <option name=
"EXTRALIBS_OPENGL"/>
171 <option name=
"HOST_SUFFIX"/>
172 <option name=
"SAMPLES_RPATH_FLAG"/>
173 <option name=
"SAMPLES_RPATH_POSTLINK"/>
175 <set var=
"TOP_SRCDIR">$(top_srcdir)/
</set>
176 <set var=
"RUNTIME_LIBS">dynamic
</set>
177 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
181 <!-- ================================================================== -->
182 <!-- Windows compilers -->
183 <!-- ================================================================== -->
185 <if cond=
"FORMAT!='autoconf'">
186 <option name=
"RUNTIME_LIBS">
187 <values>dynamic,static
</values>
188 <default-value>dynamic
</default-value>
190 Version of C runtime library to use. You can change this to
191 static if SHARED=
0, but it is highly recommended to not do
192 it if SHARED=
1 unless you know what you are doing.
196 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
198 <set var=
"TOOLKIT">MSW
</set>
199 <set var=
"TOOLKIT_LOWERCASE">$(TOOLKIT.lower())
</set>
200 <set var=
"TOOLKIT_VERSION"/>
201 <set var=
"HOST_SUFFIX"/>
202 <set var=
"EXTRALIBS"/>
203 <set var=
"EXTRALIBS_XML"/>
204 <set var=
"EXTRALIBS_ODBC"/>
205 <set var=
"EXTRALIBS_GUI"/>
206 <set var=
"EXTRACFLAGS"/>
209 <if cond=
"BUILDING_LIB=='1'">..$(DIRSEP)..
</if>
210 <if cond=
"BUILDING_LIB=='0'">.
</if>
212 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
215 <if cond=
"FORMAT=='mingw'">
216 <option name=
"GCC_VERSION">
217 <values>3,
2.95</values>
218 <default-value>3</default-value>
220 Set the version of your Mingw installation here.
221 "
3" ...... this is for Mingw
2.0 or newer (comes with gcc3)
222 "
2.95" ... for Mingw
1.1 or any of the older versions
226 <if cond=
"GCC_VERSION=='2.95'">-fvtable-thunks
</if>
228 <set var=
"EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H
</set>
233 <!-- ================================================================== -->
234 <!-- Project files - hardcode some defaults -->
235 <!-- ================================================================== -->
237 <if cond=
"FORMAT_SUPPORTS_CONDITIONS=='0'">
238 <set var=
"RUNTIME_LIBS">dynamic
</set>
239 <set var=
"OFFICIAL_BUILD">0</set>
240 <set var=
"USE_HTML">1</set>
241 <set var=
"USE_OPENGL">1</set>
242 <set var=
"USE_ODBC">1</set>
243 <set var=
"MONOLITHIC">0</set>
244 <set var=
"USE_GUI">1</set>
245 <set var=
"DEBUG_INFO">default
</set>
246 <set var=
"DEBUG_FLAG">default
</set>
247 <set var=
"MSLU">0</set>