<!-- is not constant, i.e. if it cannot be determined -->
<!-- by bakefile itself. -->
+ <!-- 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>
+
<!-- The directory where wxWidgets is installed: -->
<option name="WX_DIR" category="path">
- <default-value>$(DOLLAR)(WXWIN)</default-value>
+ <default-value>$(DOLLAR)($(ENV_VAR)WXWIN)</default-value>
<description>
The directory where wxWidgets library is installed
</description>
position="before:__wx-libs-point"/>
- <template id="wx">
+ <!-- template for static wx libraries: -->
+ <template id="wx-lib">
<!-- MISCELLANEOUS -->
<if cond="FORMAT=='mingw'">
<define>HAVE_W32API_H</define>
<include>$(WX_DIR)$(WXLIBINCLUDE)</include>
<include>$(WX_DIR)/include</include>
-
+ </template>
+
+
+ <!-- template for wx executables/dlls: -->
+ <template id="wx" template="wx-lib">
<lib-path>$(WX_DIR)$(WXLIBPATH)</lib-path>
<!-- wx libs must come before 3rd party and sys libs, this is