- <!-- this is a temporary variable until there is non general -->
- <!-- function in bakefiles for returning native markup for -->
- <!-- reading envrionment variables -->
- <set var="ENV_VAR">
- <if cond="FORMAT=='watcom'">%</if>
- <if cond="FORMAT!='watcom'"></if>
- </set>
-
-
- <!-- Presets for limited dmars make.exe format: -->
- <if cond="FORMAT=='dmars'">
- <set var="WX_UNICODE">0</set>
- <set var="WX_DEBUG">1</set>
- <set var="WX_SHARED">0</set>
- </if>
-
-
- <!-- The directory where wxWidgets is installed: -->
- <if cond="not isdefined('WX_DIR')">
- <set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
- <option name="WX_DIR" category="path">
- <default-value>$(WX_DIR_DEFAULT)</default-value>
- <description>
- The directory where wxWidgets library is installed
- </description>
- </option>
- </if>
-
- <!-- This is a standard option that determines -->
- <!-- whether the user wants to build this library as -->
- <!-- a dll or as a static library. -->
- <if cond="not isdefined('WX_SHARED')">
- <set var="WX_SHARED_DEFAULT" overwrite="0">0</set>
- <option name="WX_SHARED">
- <values>0,1</values>
- <values-description>,DLL</values-description>
- <default-value>$(WX_SHARED_DEFAULT)</default-value>
- <description>
- Use DLL build of wx library to use?
- </description>
- </option>
- </if>
-
- <!-- Configuration for building the bakefile with -->
- <!-- unicode strings or not (unicode or ansi). -->
- <if cond="not isdefined('WX_UNICODE')">
- <set var="WX_UNICODE_DEFAULT" overwrite="0">0</set>
- <option name="WX_UNICODE">
- <values>0,1</values>
- <values-description>,Unicode</values-description>
- <default-value>$(WX_UNICODE_DEFAULT)</default-value>
- <description>
- Compile Unicode build of wxWidgets?
- </description>
- </option>
- </if>
-
- <if cond="not isdefined('WX_DEBUG')">
- <set var="WX_DEBUG_DEFAULT" overwrite="0">1</set>
- <option name="WX_DEBUG">
- <values>0,1</values>
- <values-description>Release,Debug</values-description>
- <default-value>$(WX_DEBUG_DEFAULT)</default-value>
- <description>
- Use debug build of wxWidgets (define __WXDEBUG__)?
- </description>
- </option>
- </if>
-
- <if cond="not isdefined('WX_VERSION')">
- <set var="WX_VERSION_DEFAULT" overwrite="0">27</set>
- <option name="WX_VERSION">
- <default-value>$(WX_VERSION_DEFAULT)</default-value>
- <description>
- Version of the wx library to build against.
- </description>
- </option>
- </if>
-
- <if cond="not isdefined('WX_MONOLITHIC')">
- <set var="WX_MONOLITHIC_DEFAULT" overwrite="0">0</set>
- <option name="WX_MONOLITHIC">
- <values>0,1</values>
- <values-description>Multilib,Monolithic</values-description>
- <default-value>$(WX_MONOLITHIC_DEFAULT)</default-value>
- <description>
- Use monolithic build of wxWidgets?
- </description>
- </option>
- </if>