]> git.saurik.com Git - wxWidgets.git/commitdiff
set USE_QA to 1 for VC builds only by default (real fix for bug 1419152)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2006 16:09:54 +0000 (16:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2006 16:09:54 +0000 (16:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/config.bkl

index 8dba9c57b2d49193ed3f9c70c50ccf5ee5f2507f..3ae31ad753f425405563cffaba0bf346e014b4e7 100644 (file)
@@ -204,9 +204,14 @@ Acts according to BUILD by default.
         </description>
     </option>
 
         </description>
     </option>
 
+    <!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
+    <set var="USE_QA_DEFAULT">
+        <if cond="FORMAT in ['msvc','msvc6prj']">1</if>
+        <if cond="FORMAT not in ['msvc','msvc6prj']">0</if>
+    </set>
     <option name="USE_QA">
         <values>0,1</values>
     <option name="USE_QA">
         <values>0,1</values>
-        <default-value>0</default-value>
+        <default-value>USE_QA_DEFAULT</default-value>
         <description>
             Build quality assurance classes library (USE_GUI must be 1)?
         </description>
         <description>
             Build quality assurance classes library (USE_GUI must be 1)?
         </description>