+ <if cond="FORMAT!='autoconf'">
+ <option name="TOOLKIT">
+ <values>MSW,GTK</values>
+ <values-description>,GTK+</values-description>
+ <default-value>MSW</default-value>
+ <description>
+ Used toolkit
+ </description>
+ </option>
+
+ <if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','msvs2003prj','msvs2005prj','msvs2008prj']">
+ <option name="TOOLKIT_VERSION">
+ <values>,2</values>
+ <values-description>,2</values-description>
+ <default-value></default-value>
+ <description>
+ GTK+ toolkit version
+ </description>
+ </option>
+ </if>
+
+ <!-- We must make TOOLKIT a constant under Windows -->
+ <if cond="FORMAT in ['borland','mingw','msvc','watcom', 'msvc6prj', 'msvs2003prj', 'msvs2005prj', 'msvs2008prj']">
+ <set var="TOOLKIT">MSW</set>
+ </if>
+ </if>
+
+ <!--
+ Don't include wxUniversal configurations in project files, they
+ confuse people who don't know what "Universal" means and double the
+ number of configurations. If you do need to build wxUniversal, either
+ use the make files or comment out the 3 lines below and rerun
+ bakefile_gen to regenerate the projects with them.
+ -->
+ <if cond="IS_MSVC_PRJ=='1'">
+ <set var="WXUNIV">0</set>
+ </if>
+ <if cond="IS_MSVC_PRJ=='0'">
+ <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>
+ </if>
+
+ <!-- don't include ANSI configuration in project files, it's going to be
+ eventually removed anyway and it only doubles the number of build
+ configs in projects: -->
+ <if cond="IS_MSVC_PRJ=='1'">
+ <set var="UNICODE">1</set>
+ </if>
+ <if cond="IS_MSVC_PRJ=='0'">
+ <option name="UNICODE">
+ <values>0,1</values>
+ <values-description>,Unicode</values-description>
+ <default-value>1</default-value>
+ <description>
+ Compile Unicode build of wxWidgets?
+ </description>
+ </option>
+ </if>
+
+ <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: IA64, X64
+(AMD64 accepted as synonym for X64 but should not be used any more).
+ </description>
+ </option>
+ </if>
+ <if cond="FORMAT!='msvc'">
+ <set var="TARGET_CPU"/>
+ </if>
+
+ <!--
+ For MSVC enable debug information in all builds: it is needed to be
+ able to debug the crash dumps produced by wxDebugReport and as it
+ generates it in separate PDB files it doesn't cost us much to enable it
+ (except for disk space...).
+ -->
+ <set var="DEBUG_INFO_DEFAULT">
+ <if cond="IS_MSVC=='1'">1</if>
+ <if cond="IS_MSVC=='0'">default</if>
+ </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>