]> git.saurik.com Git - wxWidgets.git/commitdiff
previous commit didn't work with bkl-0.1.8, fixed
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 15 Jun 2005 22:30:01 +0000 (22:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 15 Jun 2005 22:30:01 +0000 (22:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/wxpresets/presets/wx_win32.bkl

index cd66946d7f5ff2969d2b47696bb0d94c91586053..ff839c2149172187eeff6e01aa21feb1ca6d4c3f 100644 (file)
@@ -91,14 +91,10 @@ FIXME: this template has (at least) the following bugs:
         </option>
     </if>
 
-    <set var="WX_DEBUG_VARIABLE" overwrite="0">WX_DEBUG</set>
-    <set var="WX_DEBUG_VALUE_ON">1</set>
-    <set var="WX_DEBUG_VALUE_OFF">0</set>
-    
-    <if cond="not isdefined(WX_DEBUG_VARIABLE)">
+    <if cond="not isdefined('WX_DEBUG')">
         <set var="WX_DEBUG_DEFAULT" overwrite="0">1</set>
-        <option name="$(WX_DEBUG_VARIABLE)">
-            <values>$(WX_DEBUG_VALUE_OFF),$(WX_DEBUG_VALUE_ON)</values>
+        <option name="WX_DEBUG">
+            <values>0,1</values>
             <values-description>Release,Debug</values-description>
             <default-value>$(WX_DEBUG_DEFAULT)</default-value>
             <description>
@@ -132,19 +128,19 @@ FIXME: this template has (at least) the following bugs:
     <!--    The debug define we need with win32 compilers           -->    
     <!--    (on Linux, the wx-config program is used).              -->    
     <set var="WXDEBUG_DEFINE">        
-        <if cond="$(WX_DEBUG_VARIABLE)==$(WX_DEBUG_VALUE_ON)">__WXDEBUG__</if>    
+        <if cond="WX_DEBUG=='1'">__WXDEBUG__</if>    
     </set>
 
     <!--    These are handy ways of dealing with the                -->
     <!--    extensions in the library names of the                  --> 
     <!--    wxWindows library.                                      -->
     <set var="WXLIBPOSTFIX">
-        <if cond="$(WX_DEBUG_VARIABLE)==$(WX_DEBUG_VALUE_ON) and WX_UNICODE=='1'">ud</if>
-        <if cond="$(WX_DEBUG_VARIABLE)==$(WX_DEBUG_VALUE_ON) and WX_UNICODE=='0'">d</if>
-        <if cond="$(WX_DEBUG_VARIABLE)==$(WX_DEBUG_VALUE_OFF) and WX_UNICODE=='1'">u</if>
+        <if cond="WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
+        <if cond="WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
+        <if cond="WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
     </set>
     <set var="WX3RDPARTYLIBPOSTFIX">
-        <if cond="$(WX_DEBUG_VARIABLE)==$(WX_DEBUG_VALUE_ON)">d</if>
+        <if cond="WX_DEBUG=='1'">d</if>
     </set>
 
     <set var="WXCPU">