+
+ <option name="WXUNIV">
+ <values>0,1</values>
+ <values-description>,Universal</values-description>
+ <default-value>0</default-value>
+ <description>
+ Build wxUniversal instead of native port?
+ </description>
+ </option>
+
+ <option name="UNICODE">
+ <values>0,1</values>
+ <values-description>,Unicode</values-description>
+ <default-value>0</default-value>
+ <description>
+ Compile Unicode build of wxWidgets?
+ </description>
+ </option>
+
+ <if cond="FORMAT!='autoconf' and FORMAT!='watcom'">
+ <option name="MSLU">
+ <values>0,1</values>
+ <default-value>0</default-value>
+ <description>
+ Use MSLU library when building Unicode version.
+ </description>
+ </option>
+ </if>
+ <if cond="FORMAT=='autoconf' or FORMAT=='watcom'">
+ <set var="MSLU">0</set>
+ </if>
+
+ <option name="BUILD">
+ <values>debug,release</values>
+ <values-description>Debug,Release</values-description>
+ <default-value>debug</default-value>
+ <description>
+ Type of compiled binaries
+ </description>
+ </option>
+
+ <if cond="FORMAT=='msvc'">
+ <option name="TARGET_CPU">
+ <default-value>$(DOLLAR)(CPU)</default-value>
+ <description>
+The target processor architecture must be specified when it is not X86.
+This does not affect the compiler output, so you still need to make sure
+your environment is set up appropriately with the correct compiler in the
+PATH. Rather it affects some options passed to some of the common build
+utilities such as the resource compiler and the linker.
+
+Accepted values: AMD64, IA64.
+ </description>
+ </option>
+ </if>
+ <if cond="FORMAT!='msvc'">
+ <set var="TARGET_CPU"/>
+ </if>
+
+ <!-- FIXME: restore this once bakefile is fixed to not use
+ /Gm /GZ (incompatible with /O2) w/ debug-info -->
+ <set var="DEBUG_INFO_DEFAULT">
+ <if cond="FORMAT in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">1</if>
+ <if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">default</if>
+ </set>
+ -->
+ <set var="DEBUG_INFO_DEFAULT">default</set>
+
+ <option name="DEBUG_INFO">
+ <values>0,1,default</values>
+ <default-value>$(DEBUG_INFO_DEFAULT)</default-value>
+ <description>
+Should debugging info be included in the executables? The default value
+"default" means that debug info will be included if BUILD=debug
+and not included if BUILD=release.
+ </description>
+ </option>
+
+ <option name="DEBUG_FLAG">
+ <values>0,1,default</values>
+ <default-value>default</default-value>
+ <description>
+Should __WXDEBUG__ be defined? The default value "default" means that it will
+be defined if BUILD=debug and not defined if BUILD=release.
+ </description>
+ </option>
+
+ <if cond="FORMAT=='msvc'">
+ <option name="DEBUG_RUNTIME_LIBS">
+ <values>0,1,default</values>
+ <default-value>default</default-value>
+ <description>
+Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
+Acts according to BUILD by default.
+ </description>
+ </option>
+ </if>
+ <if cond="FORMAT!='msvc'">
+ <set var="DEBUG_RUNTIME_LIBS">default</set>
+ </if>
+
+ <set var="MONOLITHIC_DEFAULT">
+ <if cond="FORMAT=='watcom'">1</if>
+ <if cond="FORMAT!='watcom'">0</if>
+ </set>