]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/config.bkl
moved makefiles to build/msw
[wxWidgets.git] / build / bakefiles / config.bkl
CommitLineData
ddf98968
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<makefile>
498368e9
VS
5
6 <set var="BUILDING_LIB" overwrite="0">0</set>
7
6990514b
VS
8 <option name="SHARED">
9 <values>0,1</values>
10 <values-description>,DLL</values-description>
11 <default-value>1</default-value>
12 <description>
13 What type of library to build?
14 </description>
15 </option>
16
17 <option name="WXUNIV">
18 <values>0,1</values>
19 <values-description>,wxUniv</values-description>
20 <default-value>0</default-value>
21 <description>
22 Build wxUniversal instead of native port?
23 </description>
24 </option>
25
26 <option name="UNICODE">
27 <values>0,1</values>
28 <values-description>,Unicode</values-description>
29 <default-value>0</default-value>
30 <description>
31 Compile Unicode build of wxWindows?
32 </description>
33 </option>
34
4f6e1dac 35 <option name="BUILD">
6990514b
VS
36 <values>debug,release</values>
37 <values-description>Debug,Release</values-description>
4f6e1dac
VS
38 <default-value>release</default-value>
39 <description>
40 Type of compiled binaries
41 </description>
42 </option>
43
44 <option name="DEBUG_INFO">
6990514b 45 <values>0,1,default</values>
4f6e1dac
VS
46 <default-value>default</default-value>
47 <description>
48Should debugging info be included in the executables? The default value
49"default" means that debug info will be included if BUILD=debug
50and not included if BUILD=release.
51 </description>
52 </option>
53
54 <option name="DEBUG_FLAG">
6990514b 55 <values>0,1,default</values>
4f6e1dac
VS
56 <default-value>default</default-value>
57 <description>
58Should __WXDEBUG__ be defined? The default value "default" means that it will
59be defined if BUILD=debug and not defined if BUILD=release.
60 </description>
61 </option>
62
63 <if cond="FORMAT=='msvc'">
64 <option name="DEBUG_RUNTIME_LIBS">
6990514b 65 <values>0,1,default</values>
4f6e1dac
VS
66 <default-value>default</default-value>
67 <description>
68Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
69Acts according to DEBUG_INFO by default.
70 </description>
71 </option>
72 </if>
73 <if cond="FORMAT!='msvc'">
74 <set var="DEBUG_RUNTIME_LIBS">default</set>
75 </if>
ddf98968 76
ddf98968 77 <option name="MONOLITHIC">
6990514b
VS
78 <values>0,1</values>
79 <values-description>Multilib,Monolithic</values-description>
80 <default-value>0</default-value>
ddf98968
VS
81 <description>
82 Multiple libraries or single huge monolithic one?
83 </description>
84 </option>
85
86 <option name="USE_GUI">
6990514b
VS
87 <values>0,1</values>
88 <values-description>Base,GUI</values-description>
ddf98968
VS
89 <default-value>1</default-value>
90 <description>
91 Build GUI libraries?
92 </description>
93 </option>
4d264332
VS
94
95 <option name="USE_HTML">
6990514b 96 <values>0,1</values>
4d264332
VS
97 <default-value>1</default-value>
98 <description>
99 Build wxHTML library (USE_GUI must be 1)?
100 </description>
101 </option>
102
103 <option name="USE_OPENGL">
6990514b 104 <values>0,1</values>
a3aa294d 105 <default-value>0</default-value>
4d264332
VS
106 <description>
107 Build OpenGL canvas library (USE_GUI must be 1)?
108 </description>
109 </option>
a69544bf 110
bb41dcbe 111 <option name="USE_ODBC">
6990514b 112 <values>0,1</values>
bb41dcbe
VS
113 <default-value>0</default-value>
114 <description>
115 Build ODBC database classes (USE_GUI must be 1)?
116 </description>
117 </option>
118
4fc5f509 119 <option name="OFFICIAL_BUILD">
6990514b 120 <values>0,1</values>
4fc5f509
VS
121 <default-value>0</default-value>
122 <description>
123 Is this official build by wxWindows developers?
124 </description>
125 </option>
126 <option name="VENDOR">
127 <default-value>custom</default-value>
128 <description>
129 Use this to name your customized DLLs differently
130 </description>
131 </option>
cff5df9f
VS
132
133 <option name="CFG">
134 <default-value></default-value>
135 <description>
4f6e1dac
VS
136Name of your custom configuration. This affects directory
137where object files are stored as well as the location of
138compiled .lib files and setup.h under the lib/ toplevel directory.
cff5df9f
VS
139 </description>
140 </option>
4fc5f509
VS
141
142
eefdc53a
VS
143 <!-- ================================================================== -->
144 <!-- Autoconf -->
145 <!-- ================================================================== -->
146
ddf98968
VS
147 <if cond="FORMAT=='autoconf'">
148 <option name="DEREZ"/>
149 <option name="TOOLKIT"/>
150 <option name="TOOLKIT_LOWERCASE"/>
151 <option name="TOOLKIT_VERSION"/>
157a3440 152 <option name="TOOLCHAIN_NAME"/>
ddf98968 153 <option name="EXTRALIBS"/>
a69544bf 154 <option name="EXTRALIBS_XML"/>
bb41dcbe 155 <option name="EXTRALIBS_ODBC"/>
c74dc163 156 <option name="EXTRALIBS_GUI"/>
34b08d2c 157 <option name="EXTRALIBS_OPENGL"/>
ddf98968 158 <option name="SAMPLES_RPATH_FLAG"/>
ea66c762 159 <option name="HOST_SUFFIX"/>
4b44ea2b 160
4843dc4c 161 <set var="TOP_SRCDIR">$(top_srcdir)/</set>
4b44ea2b 162 <set var="RUNTIME_LIBS">dynamic</set>
e54bb212 163 <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
ddf98968
VS
164 </if>
165
eefdc53a
VS
166
167 <!-- ================================================================== -->
168 <!-- Windows compilers -->
169 <!-- ================================================================== -->
170
ddf98968 171 <if cond="FORMAT!='autoconf'">
4b44ea2b 172 <option name="RUNTIME_LIBS">
6990514b 173 <values>dynamic,static</values>
4b44ea2b
VS
174 <default-value>dynamic</default-value>
175 <description>
4f6e1dac
VS
176Version of C runtime library to use. You can change this to
177static if SHARED=0, but it is highly recommended to not do
178it if SHARED=1 unless you know what you are doing.
4b44ea2b
VS
179 </description>
180 </option>
181
4843dc4c
VS
182 <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
183
eefdc53a
VS
184 <set var="TOOLKIT">MSW</set>
185 <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
186 <set var="TOOLKIT_VERSION"/>
187 <set var="SAMPLES_RPATH_FLAG"/>
ea66c762 188 <set var="HOST_SUFFIX"/>
6f53cd7c 189 <set var="EXTRALIBS"/>
a69544bf 190 <set var="EXTRALIBS_XML"/>
bb41dcbe 191 <set var="EXTRALIBS_ODBC"/>
c74dc163 192 <set var="EXTRALIBS_GUI"/>
65fb1c11 193 <set var="EXTRACFLAGS"/>
eefdc53a 194
cdc0282e 195 <set var="SRCDIR">
6990514b 196 <if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
cdc0282e
VS
197 <if cond="BUILDING_LIB=='0'">.</if>
198 </set>
4843dc4c 199 <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
ddf98968 200 </if>
65fb1c11
VS
201
202 <if cond="FORMAT=='mingw'">
203 <option name="GCC_VERSION">
6990514b 204 <values>3,2.95</values>
65fb1c11
VS
205 <default-value>3</default-value>
206 <description>
4f6e1dac
VS
207Set the version of your Mingw installation here.
208 "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
209 "2.95" ... for Mingw 1.1 or any of the older versions
65fb1c11
VS
210 </description>
211 </option>
212 <set var="GCCFLAGS">
213 <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
214 </set>
215 <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
216 </if>
217
ddf98968 218</makefile>