]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
make DEBUG_INFO=1 the default for VC++
[wxWidgets.git] / build / bakefiles / common.bkl
index 9d1ae8e5d2bbef7aa8881b04e3236bb7cd583dc0..039c0ae34e1c0f0ac249a2886e5d7b0272d08cbc 100644 (file)
         <if cond="DEBUG_INFO=='0'">off</if>
     </set>
     <set var="DEBUGRUNTIME">
-        <if cond="DEBUG_RUNTIME_LIBS=='default'">$(DEBUGINFO)</if>
+        <if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='debug'">on</if>
+        <if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='release'">off</if>
         <if cond="DEBUG_RUNTIME_LIBS=='0'">off</if>
         <if cond="DEBUG_RUNTIME_LIBS=='1'">on</if>
     </set>